P
Paul
I have an item in the aspx part of my page:
<a id="PreviousPageNav" runat="server" >
<asp:Image runat=server ID="PreviousImage"
ImageUrl="~/Images/Nav/previous.gif" />
</a>
that I put in the header of a DataList.
When it was outside of the Datalist, on the Code Behind, I accessed it like
this:
PreviousPageNav.HRef = String.Format(navigationFormat, StoreID, pageIndex -
1);
PreviousPageNav.Visible = (pageIndex > 0) ? true : false;
But I can not seem to be able to access it once it is in the header of the
DataList. Looking around, I see the FindControl method, but am usure on how
to use it.
Suggestions, please?
Paul
<a id="PreviousPageNav" runat="server" >
<asp:Image runat=server ID="PreviousImage"
ImageUrl="~/Images/Nav/previous.gif" />
</a>
that I put in the header of a DataList.
When it was outside of the Datalist, on the Code Behind, I accessed it like
this:
PreviousPageNav.HRef = String.Format(navigationFormat, StoreID, pageIndex -
1);
PreviousPageNav.Visible = (pageIndex > 0) ? true : false;
But I can not seem to be able to access it once it is in the header of the
DataList. Looking around, I see the FindControl method, but am usure on how
to use it.
Suggestions, please?
Paul