Click here to Skip to main content
Rate this: bad
good
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 21:32pm
Comments
gagan_oct at 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:
^]
  Permalink  
Comments
Sandeep Mewara at 14-May-12 5:06am
   
5!
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 Sergey Alexandrovich Kryukov 485
1 mhegazy94 460
2 Kornfeld Eliyahu Peter 315
3 Ravi Bhavnani 200
4 Shemeemsha RA 160
0 Sergey Alexandrovich Kryukov 6,890
1 OriginalGriff 6,761
2 CPallini 5,350
3 George Jonsson 3,609
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web04 | 2.8.140922.1 | Last Updated 11 May 2012
Copyright © CodeProject, 1999-2014
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