Razor Tips and Tricks #3 - Look, No forms
Category:
ASP.NET
DotNetNuke
Last Modified: May 2 2017
Dec
10
2010
On Monday, we launched the Razor DotNetNuke Hackathon with a meeting of SEADUG (Seattle DotNetNuke User Group) held at Microsoft offices in beautiful downtown Bellevue.
For those of you proposing to write Razor “scripts” as part of the Hackathon, I have decided to write a series of short Tips and Tricks.
In this third post I will cover a couple of caveats when using Razor scripts in the DotNetNuke context.
No Forms
The first caveat is that because the Razor script is still running within the context of a ASP.NET WebForm, you need to be careful when using Razor scripts that you find (or write yourself) for collecting form data.