hi
I put textbox and button in page that want users type some code in text box and when click button it will save that codes into database they will enter this code in textbox:
<div id='14921567137600375'><script type='text/JavaScript' src='https://www.aparat.com/embed/gRamq?data[rnddiv]=14921567137600375&data[w]=640'></script></div>
but when I type this code into text box and click button this error happen:
A potentially dangerous Request.Form value was detected from the client (Txtdes="<div id='14921567137...").
Description: ASP.NET has detected data in the request that is potentially dangerous because it might include HTML markup or script. The data might represent an attempt to compromise the security of your application, such as a cross-site scripting attack. If this type of input is appropriate in your application, you can include code in a web page to explicitly allow it. For more information, see http://go.microsoft.com/fwlink/?LinkID=212874.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (Txtdes="<div id='14921567137...").
why this error happen?and what should I do to solve it?
best regards
neda