Sunday, 2 December 2012

URL VALIDATION C#/ASP.NET

URL VALIDATION C#/ASP.NET

        <h1>url VALIDATION Demo in ASP.NET</h1>
        <asp:TextBox ID="TextBox1" runat="server" Text="URL only"    TextMode="Url"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Button" />


NOTE:THIS FEATURE WORKS IN VS2012

OUTPUT





note: URL format should be like this http://www.example.com  otherwise error shown above.