Sep 9, 2011

How to validate validation in cliient side in java script

function chkValidation(nextTab)
{
if (tab.name=='EmployeeDetails')
{
var btnSave = document.getElementById("<%=btnSave.clientID%>");
WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions('ctl00$ContentPlaceHolder1$btnSave', '', true, '', '', false, false));
if (Page_ClientValidate()==false)
return false;
}
else
{
tab.name = nextTab;
}
}

No comments:

Post a Comment

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...