Monday, April 23, 2012
ASP.NET MVC 3 Generating an ActionLink in the controller - Html.ActionLink Equivalent
Generating routing links is extremely easy in MVC 3 using @Html.ActionLink(linkText,action,controller) when you're using Razor views this is great. However sometimes you need to generate the link within the controller - at which point you do not have direct access to the Html helper.
In these instances such as creating links for a wysiwyg editor or adding a link into an email it is...
Wednesday, April 18, 2012
MVC 3 ModelState Validation after Postback - Page.Validate() equivalent
I've been tinkering with MVC 3 for a while now and I have to say I'm extremely impressed - it is a joy to work with as are its supporting technologies Entity Framework, ASP.NET Routing and Razor view engines to name a few.
However I've been working on WebForms for so long that I'm finding more than a few stumbling blocks as I grapple my way up the learning curve. One such hurdle was...
Subscribe to:
Posts (Atom)