Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
protected void gvnested_RowEditing(object sender, GridViewEditEventArgs e)
{


        System.Web.UI.WebControls.GridView gvnst = ((System.Web.UI.WebControls.GridView)sender);
        gvnst.EditIndex = e.NewEditIndex;


    }


I have tried like this but it is firing ,when double clicking on edit button other wise its not firing. What's wrong in this please help its urgent.
Posted
Comments
santhu888 15-Apr-14 5:47am    
Am editing nested gridview.... but it is firing after two clicks .its urgent requirement please any one help me out.thanks in advance

1 solution

 
Share this answer
 
Comments
santhu888 14-Apr-14 1:56am    
but I want in single click only.....
Naz_Firdouse 14-Apr-14 2:08am    
did u try following the steps mentioned in the answer at the above link?
santhu888 14-Apr-14 2:42am    
yah i have tried but its firing in double clicking..... actually what i want is when i click on edit button it will fire at 1st click only.
santhu888 14-Apr-14 3:15am    
Naz_Firdouse please reply me.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900