A potentially dangerous Request.Form value was detected...

G

Guest

I have a <BUTTON> control that I use, because I want the text on the button
to display with an underscore on the lead character to indicate that it has
an access key associated with it. To do this I use the HTML underline tag:
<BUTTON><u>S</u>ave</BUTTON>. However, when this form is posted in ASP.NET
2.0, I get the error mentioned in the subject of this post. Is there any way
to work around this short of disabling the ASP.NET form validation by adding
ValidateRequest-false to the page directive?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top