D
darrel
I'm working on getting paging working for a repeater control.
I'm following the tutorial at:
http://www.sitepoint.com/print/asp-nets-pageddatasource
I'm getting snagged on the following bit of code:
Line 121: btnPrev.Visible = (NOT pagedData.IsFirstPage)
Line 122: btnNext.Visible = (NOT pagedData.IsLastPage)
Which gives me the 'btnPrev' is not declared.
However, I do have it in my repeater control, located on the same page:
<FooterTemplate>
<asp:LinkButton id="btnPrev" text="<" OnClick="Prev_Click"
runat="server" />
<asp:LinkButton id="btnNext" text="<" OnClick="Next_Click"
runat="server" />
</FooterTemplate>
What am I missing?
-Darrel
I'm following the tutorial at:
http://www.sitepoint.com/print/asp-nets-pageddatasource
I'm getting snagged on the following bit of code:
Line 121: btnPrev.Visible = (NOT pagedData.IsFirstPage)
Line 122: btnNext.Visible = (NOT pagedData.IsLastPage)
Which gives me the 'btnPrev' is not declared.
However, I do have it in my repeater control, located on the same page:
<FooterTemplate>
<asp:LinkButton id="btnPrev" text="<" OnClick="Prev_Click"
runat="server" />
<asp:LinkButton id="btnNext" text="<" OnClick="Next_Click"
runat="server" />
</FooterTemplate>
What am I missing?
-Darrel