validations in asp.net

Posted by Suneel161 under Regular Expressions on 8/20/2010 | Points: 10 | Views : 1206 | Status : [Member] | Replies : 3
i used jquery validations in asp.net for save button but its working for all the other buttons along with save button. it should work only for save button . when i click save button its firing and saving. it should nt save.help me out. even if i keep cause validation its not working




Responses

Posted by: Shankul2784 on: 8/20/2010 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Set the other buttons property as causesvalidation="false";

i hope, this will help you.

Thanks & Regards,

Shailesh

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suneel161 on: 8/20/2010 [Member] Starter | Points: 25

Up
0
Down
Its not working

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shankul2784 on: 8/20/2010 [Member] Bronze | Points: 25

Up
0
Down
Hi,

write the javascript function on the onclientclick event & then try to run it.

Thanks & Regards,

Shailesh

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response