By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,619 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

A potentially dangerous Request.Form value was detected from the client -- Issue- in

P: 1
Its a text box where I have set the value like <name>xyz</Name> using htmldecode() but when i change value and submit ie any event fires I get above exception.
I know solution could be setting pagedirective validateRequest="false" but i don't have a aspx page, I am creating a webpart and dynamically it will be rendered on my page.
Can you suggest to switch off validationRequest from code behind, I did not get this property.:(
May 8 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.