I have a field validatior on my page. but i noteces if i press the submit btn 2 times the validator does not stop the process.

have any one have a problem like tihs? and how to solve it.

Thakns

<tr>
                    <td >
                        <div class="buyIt_Titles2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1 runat="server" ControlToValidate="txt_BillingCity" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                        <samp class="RedStar">*</samp>NameCity</div>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txt_BillingCity" Width=200 ></asp:TextBox>  
                    </td>
                </tr>

Recommended Answers

All 2 Replies

Hi this occurs after writing text in textbox or without any value in the textbox?

it is better if you post your entire .aspx page. check your button's causes validation property set to true.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.