Calling a function on pushing the Edit button on the Gridview tool.

Discussion in 'ASP.NET Starter Kits' started by danras, May 12, 2006.

  1. 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
     
  2. 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
     

Share This Page