3
Answers

How To SET CUSTOM TEXTBOX validation

Sandeep Kumar

Sandeep Kumar

2y
733
1

I have a  TextBox id txtInvoiceNo in which Invoice No must be in the given format AD2122IN01999.

 Means First Two  will be in letters then numeric then again two letters and so on as mention above in yellow color

<div class="row">
                                <div class="col-sm-3" style="width: 17%">
                                    Invoice No.
                                </div>
                                <div class="col-sm-1" style="width: 24%">
                                    <asp:TextBox ID="txtInvoiceNo" runat="server" Width="100%"></asp:TextBox>
                                </div>

</div>

 

<div>

<asp:Button Id=BsnSave runat=server onclick=btnsave()>

Answers (3)