Click here to Skip to main content
11,484,402 members (65,134 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0 ASP.NET4.0
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

protected void bUpdate_Click(object sender, EventArgs e)
          // I have to call Gridview Event
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
            //Code to be called is written over here 
Posted 10-May-12 22:32pm
gagan_oct at 31-Jan-13 6:44am
I do need the same thing..please respond...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
Sandeep Mewara at 14-May-12 5:06am
Prasad_Kulkarni at 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)

  Print Answers RSS
0 Maciej Los 190
1 Sergey Alexandrovich Kryukov 170
2 Raje_ 155
3 OriginalGriff 147
4 Mehdi Gholam 120
0 Sergey Alexandrovich Kryukov 8,484
1 OriginalGriff 7,948
2 Sascha Lefèvre 3,199
3 Maciej Los 2,681
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 11 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100