Error about Request.Form when doing postback
am 03.01.2008 04:33:04 von Nathan Sokalski
There is a TextBox on my Page that I add the text to in the Init event. When
I do a PostBack, I recieve the following error:
A potentially dangerous Request.Form value was detected from the client
(ctl00$cphExampleContent$txtValidatorTags="
I have tried disabling EventValidation, but they didn't help, and it doesn't
look to me like this is an EventValidation error anyway. What can I do to
fix this? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
Re: Error about Request.Form when doing postback
am 03.01.2008 06:40:12 von zzzxtreme
u need to set validateRequest=false either in the aspx page, or in
web.config
Nathan Sokalski wrote:
> There is a TextBox on my Page that I add the text to in the Init event. When
> I do a PostBack, I recieve the following error:
>
> A potentially dangerous Request.Form value was detected from the client
> (ctl00$cphExampleContent$txtValidatorTags="
>
> I have tried disabling EventValidation, but they didn't help, and it doesn't
> look to me like this is an EventValidation error anyway. What can I do to
> fix this? Thanks.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
> http://www.nathansokalski.com/