I want to allow administrators of my web application to enter html code through textbox (the html is saved in database) on 1 of my pages.
Im getting the following exception when there's any html code in textbox and im trying to redirect to a different page (i'm using linkbuttons on master page to switch pages, so it's basicly javascript postback):
Exception type: HttpRequestValidationException
Exception message: A potentially dangerous Request.Form value was detected from the client
I set ValidateRequest="false" for the page but i get the error when i try to redirect from the page with textbox filled with html code to any other page. For now i disabled ValidateRequest on every page that i can redirect from master page.
So how to disable ValuidateRequest only on 1 page and use linkbuttons for redirect without getting error?
...
Go to the complete details ...