Why your MVC 3 Razor model object might be empty on post
Sometimes it is the obvious things that trip us up the most. I had this class to be used in an ASP.NET MVC 3 Razor project. public class SpecialOffer { public int ID { get; set; }...
View ArticleASP.NET Html.RenderPartial cannot convert void Error
Sometimes the simple things throw you a real curve ball when you are in a rush. All I wanted today was to move a piece of menu code into a Razor partial view. I created the partial view layout and...
View ArticleMVC 3 Session Data and Internet Explorer P3P IFRAME Cookies
Internet Explorer IFRAME P3P Cookies Development has been continuing over at the Debbie Stevens Wellbeing website. Before the system was hosted in its own domain that looked like the main site created...
View ArticlePassing array data between controllers and views in ASP.NET MVC 3
In ASP.NET MVC 3 model binding array data is not as simple as it seems. Take this excerpt from one of my project models. public class CustomerActionModel { public CustomerActionModelActionType { get;...
View Article