How to place footertemplate top of the gridview

Posted by Jayakumars under ASP.NET on 9/17/2011 | Points: 10 | Views : 3442 | Status : [Member] [MVP] | Replies : 1
hi
every one i have include gridview in footer templates textbox and addnew link button when i click link button my records inserted above the footer templates
this is common i need how to place above in my textbox and link button when
i click link button i need bind the record below the records how will do this
also refer my image below.

Mark as Answer if its helpful to you


Responses

Posted by: Kasibabu on: 9/17/2011 [Member] Starter | Points: 25

Up
0
Down
hi Jayakumars

by default gridview showfooter is false(default)

enable showfooter="true"

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" ShowFooter="true" >
<Columns>
<asp:TemplateField>
<FooterTemplate>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

if it helps make as answer

Regards,
Kasi babu

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

Login to post response