Button OnClick event on post back
ASP.NET
3
Posts
2
Posters
0
Views
1
Watching
-
how could i know, such a button onclick() event get fired in checking Postback
-
how could i know, such a button onclick() event get fired in checking Postback
You can use Request.Form["__EVENTTARGET"] to get the control which caused the postack
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
You can use Request.Form["__EVENTTARGET"] to get the control which caused the postack
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
thanx for reply yep its works ,yet have to add UseSubmitBehavior="false" to the button