Hi All,
I have few buttons on my pager template. The buttons disappear when the last record is left. I want those buttons to appear if I am on the last record. below is my code. i want the Update Record Button and Save Record button on the pager item. How can i achieve this.
Thanks for all the help.
I have few buttons on my pager template. The buttons disappear when the last record is left. I want those buttons to appear if I am on the last record. below is my code. i want the Update Record Button and Save Record button on the pager item. How can i achieve this.
<PagerTemplate> <table border="0" cellpadding="0" cellspacing="0" style="height: 20px" width="540px"> <tr > <td style="width:10%" > <asp:ImageButton ID="btnFirst" runat="server" ImageUrl="~/images/PagingFirst.gif" AlternateText="First" CommandName="Page" CommandArgument="First" /> </td> <td style="width:10%"> <asp:ImageButton ID="btnPrev" runat="server" ImageUrl="~/images/PagingPrev.gif" CommandName="Page" CommandArgument="Prev" /> </td> <td style="width:10%"> <asp:ImageButton ID="imgNext" runat="server" ImageUrl="~/images/PagingNext.gif" CommandName="Page" CommandArgument="Next" /> </td> <td style="width:10%"> <asp:ImageButton ID="imgLast" runat="server" ImageUrl="~/images/PagingLast.gif" CommandName="Page" CommandArgument="Last" /> </td> <td style="width:35%" > <asp:Button ID="Btn_UpdateRecord" runat="server" Text="Update Record" OnClick="Btn_UpdateRecord_Click" /> </td> <td > <asp:Button ID="Btn_FinalizeRecord" runat="server" Text="Save Record" OnClick="Btn_FinalizeRecord_Click" /> </td> </tr> </table> </PagerTemplate> Thanks for all the help.