Hey guys,
I was wondering how you would access the text of a label which is contained within an asp reapeater....
for example,...
I read from somewhere that you would grab it in this fashion...Code:<asp:repeater id="level1" runat="server" datasource="...."> <asp:repeater id="level2" runat="server" datasource="..."> <asp:label id="lblText" runat="server">Text</asp:label> </asp:repeater> </asp:repeater>
but I get a "Object Not Instantiated" error.....Code:ctype(page.FindControl("level1:level2:ctl0:lblText"), Label).text
Thanks in Advance
Steven




Reply With Quote