Firing both Client side event and server side event for server side button


I am having some difficulties getting this to work.. I have button_click (Asp.net) and ClientClick (Javascript).  Javascript is firing fine.  Server script is not.
0
nm4568
1/11/2009 1:04:50 AM
📁 asp.net.web-forms
📃 93655 articles.
⭐ 6 followers.

💬 1 Replies
👁️‍🗨️ 2479 Views



may be you have return return false in the in the javascript which is why its not firing server side event.
You should add javascript evelt like this
button1.onclientclick = "functionname"
Function should nopt return false.

Vikram
www.vikramlakhotia.com


Please mark the answer if it helped you
0
vik20000in
1/11/2009 1:29:30 AM
Reply: