Allow html in textbox


In most of cases when you use textfield or textbox and some one enter a html code like<> then its through an error. The reason for that Is by default stop cross-site-scripting method to avoid hacking or high jacking of application. Then you can allow html in textbox in by setting

 HTML |  copy code |? 
<%@ Page ... ValidateRequest="false" %>

 This is by default is true just set it to false. 

Leave a Comment

Your email address will not be published.