HOW TO FIND CLICK EVENT OF BUTTON INSIDE FOOTR TEMPLATE IN GRIEDVIEW

Posted by Shanky11 under ASP.NET on 12/17/2012 | Points: 10 | Views : 772 | Status : [Member] | Replies : 3
<asp:GriedView id ="grdview runat="server"</asp:GriedView >
<asp:TemplateField><ItemTemplate></ItemTemplate>
<FooterTemplate> <asp:Button ID="Button1" runat="server" Text="Show" /></FooterTemplate>
</asp:TemplateField>
----------------------------how to find event of this button-----------Show




Responses

Posted by: Ranjeet_8 on: 12/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Code Behind

protected void Button1_Click(object sender, EventArgs e)
{
// Your Work goes here.
}

Grid View Footer

<FooterTemplate><asp:Button ID="Button1" runat="server" Text="Show" onclick="Button1_Click" />
</FooterTemplate>


Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 12/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
@Shanky11
Please Mark As Answer if post helps you.

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 12/17/2012 [Member] Starter | Points: 25

Up
0
Down
u can find it in solution explorer....

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response