PDA

View Full Version : Calling a function on pushing the Edit button on the Gridview tool.


danras
05-12-2006, 06:34 AM
I am trying to get a function called when the 'Edit' button on a gridview tool is pushed. The 'select' button calls the function


GridView1_SelectedIndexChanged and if you dounble click the 'Edit' button the same function is created however in debug this function is never called.


Bottom line is I want pushing the edit button to perform an edit and also do the record update.


Thanks


Dan

joelnet
05-12-2006, 10:18 AM
On your edit button, do you have an "onclick" event with that method name?


I'd recommend adding a Thow New Exception("test") just to see if the event IS getting called.
If not, Please post some example code and a URL to an example.


Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET