Click here to Skip to main content
12,888,931 members (51,565 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0 ASP.NET4
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 21:32pm
gagan_oct 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 14-May-12 5:06am
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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 11 May 2012
Copyright © CodeProject, 1999-2017
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