KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
problem i have is that, the validation summary message(alert) is displayed twice. I cannot figure out the reason. Please help. Here is the code function validate() //javascript function { if (typeof(Page_ClientValidate) == 'function') { var isPageValid = Page_ClientValidate(); if(isPageValid) { } } } <asp:Button ID="btn1" runat="server" OnClientClick="validate()" Text="button" ValidationGroup="ContactGroup" /> <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" ShowMessageBox="true" ShowSummary="false" ValidationGroup="ContactGroup" />
Tags (comma-separated)
Save Edits
Cancel