Allow html tags in textbox fileds asp.net
HTML tags can be allowed in asp.net pages by having the following attributes in the page level for a particular page.
validateRequest="false"
eg. <%@ Page Language="C#" validateRequest="false" at the top of the aspx page.
Or
add the
<system.web>
<pages validateRequest="false">
on your web.config for all the pages.
Happy programming,
Anton
validateRequest="false"
eg. <%@ Page Language="C#" validateRequest="false" at the top of the aspx page.
Or
add the
<system.web>
<pages validateRequest="false">
on your web.config for all the pages.
Happy programming,
Anton
Labels: ASP.NET