Author: MdV | Posted on: 7/23/2010 5:26:00 AM | Views : 409

I need to be able to insert HTML tags in some TextBox controls in a webpage. I know I can avoid the exceptions of type HttpRequestValidationException by changing the ValidateRequest property of the Page directive to false, as in

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" ValidateRequest="false" Inherits="_Default" %>
But that leaves all TextBoxes on the page open for HTML insertion, which I don't want. I need to be able to insert HTML in only some TextBoxes, not in all of them.
Is there a way to accomplish that?

...

Go to the complete details ...