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
Default

hi,

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 asp.net we page has a at least one postback control so that asp.net will emit the __dopostback script.
Also this may not work in future versions of Asp.Net

Prashant


Reply With Quote