Articles in the ASP.NET Category
I got this error saying “A potentially dangerous Request.Form value was detected from the client” when I put html tags like “<p><br/><strong><a href=””></a>” in my form fields (textbox, textarea).
This error might occur if you have selected your selection list (dropdownlist) multiple times. You can add multiple=”true”, e.g. <select Multiple=”true”> in your selection list so as to enable multiple item select.
If you don’t want your selection list to be multiple select enabled then you have to check whether you have selected the selection list multiple times either in your design (aspx file) or in code (aspx.cs file).
There is a .aspx page with some textbox and a submit button.
User enters text in the textbox and clicks the submit button.