Avatar of arcross
arcross
Flag for United Kingdom of Great Britain and Northern Ireland asked on

how to handle "A potentially dangerous Request.Form value was detected from the client" exception without setting validateRequest property to false

im finding hard how to validate user input without setting the ValidationRequest = False.

any suggestions or ideas ?? it is driving me nuts

thanks
ASP.NET

Avatar of undefined
Last Comment
arcross

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sasapopovic

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
arcross

ASKER
sasa, thanks...I understand.
my situation is i have few pages where the user inputs data. Some of the textboxes are in templates,lets say in detailsview when editing a record. Here, in the detailsview, i cant find and i dont know where to use the HTMLCode method. I thought to use the 'TextChanged' event in all the textboxes but  it seems those textboxes in the detailsview dont o expose events???

can you think in other methods?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy