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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top