jquery - How to properly call Javascript Function from Gridview Selected Index Changed -


i have user control --> aspx page--> master page scenario. user control contains gridview. want able call javascript function when gridview "select" linkbutton clicked.

i able work first time linkbutton clicked, every other subsequent click fails call javascript function.

i registering javascript function using asp.net scriptmanager/scriptmanagerproxy method - proper way use jquery when using masterpages in asp.net?

any ideas on why fails after first try?

without code i'm not sure implementation, here's i'd do:

linkbutton, button has onclientclick property can set call client-side javascript before running postback. don't have access when using commandfield.

first, convert commandfield (the 1 select button) templatefield. should given linkbutton or button, can set onclientclick property for.

i think lot simpler doing registerscripts, etc.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -