ASP.Net, C#, SQL Server Information

ASP.Net, C#, SQL Server Information

Link to ASP.Net, C#, SQL, JQuery, Sharepoint

AllowHtml Attribute to allow html for your asp.net mvc application

Posted: 11 Dec 2012 02:56 AM PST

Whenever you are trying to take html input from your asp.net mvc application without using AllowHtml attribute to model field then you will run into following error. Server Error in '/' Application. A potentially dangerous Request.Form value was detected from the client (StepValue="...Enumerable intSequence = ..."). Description: ASP.NET has detected data in

Weird errors in asp.net mvc and its solution

Posted: 10 Dec 2012 05:18 PM PST

If you are experiencing weird errors in asp.net mvc. Situation 1 You have added namespace in Web.config file still your View Page is not reflecting any change or still control is error-ed out, then close the view and reopen it.  Yes VS.Net requires closing and opening of view page in order to reflect changes. Situation 2 You have made major change in Entity Framework (Code First) Entity class


Post a Comment