Here is a hint to call asp.net validators before performing an operation (probaly ajax) you can use the client-side script function Page_ClientValidate().This function is automatically included when you put validators in your page.
Sample usage:
if(!Page_ClientValidate()){
return;
}
//here is the operation to be performed;
/>
Sample usage:
if(!Page_ClientValidate()){
return;
}
//here is the operation to be performed;
/>
powered by performancing firefox
No comments:
Post a Comment