tags:

views:

28

answers:

1

I have one textbox in my entire app that I want to be able to accept html. I don't really want to go through all my pages and add Server.HtmlEncode(textbox.Text).

Is there a work around. I'm using C# and asp.net 4.0 and I know the ValidateRequest stuff changed in 4.0 but I don't know if it can solve my problem. Can it?

A: 

You can always mark validateRequest=false at page level. So you can try that on the page containing that particular text-box

VinayC