View Single Post
  #5 (permalink)  
Old June 6th, 2005, 06:38 AM
Prashant.k.m Prashant.k.m is offline
Friend of Wrox
Join Date: Apr 2005
Location: Cochin, , India.
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts


There is a raw method to attain a similar task.
ASP.Net Uses the __dopostback(ctl,arg) script to handle the events your page. so you can put a linkbutton with no text. Call you function from the linkbutton_click event and call __dopostback('lnkbtn',''); in you javascript function.

Note: make sure that your we page has a at least one postback control so that will emit the __dopostback script.
Also this may not work in future versions of Asp.Net


Reply With Quote