G
Guest
hello,
I am using a form which has multiple buttons(asp server controls) say B1, B2
and B3. The postabck gets fired on B1 click whereas I want it to happen on B3
click. I know that by default the first button on a page is set as the
'submit' button and that is the reason for this behaviour.
Now teh question is, how can i prevent postback firing on B1 click and force
it to fire on B3 click. i heard asp.net has a simple way to handle this and
there is no need to write a _dopostback javascript function.
Can somebody help me on this?
Thanks
I am using a form which has multiple buttons(asp server controls) say B1, B2
and B3. The postabck gets fired on B1 click whereas I want it to happen on B3
click. I know that by default the first button on a page is set as the
'submit' button and that is the reason for this behaviour.
Now teh question is, how can i prevent postback firing on B1 click and force
it to fire on B3 click. i heard asp.net has a simple way to handle this and
there is no need to write a _dopostback javascript function.
Can somebody help me on this?
Thanks