Click here to Skip to main content
16,018,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a button on which I have to Call an event of Gridview can anyone help how can I do this functionality. Take a note that the event e in both the method are different and I require GridViewUpdateEventArgs e

To be more clear

In this event

C#
protected void bUpdate_Click(object sender, EventArgs e)
       {
          // I have to call Gridview Event
       }

C#
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
            //Code to be called is written over here 
        }
Posted
Comments
gagan_oct 31-Jan-13 6:44am    
I do need the same thing..please respond...

1 solution

Please refer following link
This article describes the handling of the common GridView events:
GridView Event Handling[^]

Create a simple Gridview User Control and access its events in the parent page using Event Bubbling:
Event handling in a Gridview User Control[^]
 
Share this answer
 
Comments
Sandeep Mewara 14-May-12 5:06am    
5!
Prasad_Kulkarni 14-May-12 5:20am    
:) Thank You,

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