In order to display some special text (like html data) I put validaterequest="false"
in my aspx page. But unfortunatly I'm not even get that text to display.
So how can i display that (Html enabled) content?
In order to display some special text (like html data) I put validaterequest="false"
in my aspx page. But unfortunatly I'm not even get that text to display.
So how can i display that (Html enabled) content?
If the TextBox is in a databound control (Repeater/GridView/etc.) and you bind the data on every postback the TextBox will lose it's contents, because all contents of the control are recreated. Use
if(!Page.IsPostBack){/*code*/}
to make sure it only databinds on first load.