Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have 3 tabs, in the first tab there are 5 validations in second tab 2 validators. I have used a group validator named 'valgrpMandatory'. On page load the control will be in first tab and whenever I click submit button the validation will work on all the tabs but the first tab is been showed. After inserting mandatory fields in first tab it cannot move to the next tab which is having validation for mandatory fields.
C#
var Page_IsValid = false;
           Page_IsValid = window.Page_ClientValidate('valgrpMandatory');
           //Initialising Variables
           if (Page_IsValid == true) {
// values in all tabs on submit
}
Posted
Comments
krishnaMurali 23-Jul-14 2:51am    
which tabs you are using? JS tabs or .net
Prakriti Goyal 23-Jul-14 4:29am    
Could you please elaborate your query.
My Doubt 24-Jul-14 0:56am    
I have html tabs

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900