Required field validator trigger single button in one page in asp.net

Solved:

Mostly user face the issue when use required field validator. Two asp.net button problem trigger one button for validate and another button for another performing but disturbed both button to show error,
this problem has been solved to "ValidationGroup" just defined button and which controls to validate.

Example:

<asp:RequiredFieldValidator ValidationGroup='grp1' ... />
<asp:Button ValidationGroup='grp1' Text='trigger for validation' ... />

Comments

Popular posts from this blog

Add Image through base64 on PDF in itextsharp

how to insert text and tags at the cursor CKEDITOR