A
Alan Silver
Hello,
I am writing a web form where the user is allowed to enter HTML into one
of the textboxes. This of course generates the "potentially dangerous"
server error.
Now I know I can switch off the validation for the page by using the
validateRequest page directive, but this switches it off for *all*
controls on the page. I have loads and loads of them, but only want to
allow HTML in this one control. I really don't want to have to write
validation for every other control.
Is there a way of allowing HTML in just one control? TIA
I am writing a web form where the user is allowed to enter HTML into one
of the textboxes. This of course generates the "potentially dangerous"
server error.
Now I know I can switch off the validation for the page by using the
validateRequest page directive, but this switches it off for *all*
controls on the page. I have loads and loads of them, but only want to
allow HTML in this one control. I really don't want to have to write
validation for every other control.
Is there a way of allowing HTML in just one control? TIA