Click here to Skip to main content
12,357,929 members (69,591 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
Comments
gagan_oct 31-Jan-13 6:44am
   
I do need the same thing..please respond...

1 solution

Rate this: bad
 
good
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[^]
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


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