Tuesday, November 11, 2008

Disable HTML validation on ASP.NET

bz default it is not possible to write HTML tag in Textbox in ASP.NET, if you want to disable it, just add this tag to the page header ValidateRequest="false"

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmLogin.aspx.cs" Inherits="frmLogin" ValidateRequest="false" %>

No comments:

Post a Comment