Ma in un itemtemplate (o header o footer) di un asp:repeater posso inserire altri oggetti asp tipo <asp:label?
Penso di si ma poi... come ci accedo?
Se io provo:
codice:<FooterTemplate> <table border="0"> <tr> <td> <asp:HyperLink runat="server" ID="h_previous" Text="Pagina Precedente" /> </td> <td> <asp:HyperLink runat="server" ID="h_following" Text="Pagina Seguente" /> </td> </tr> </table> </FooterTemplate>Ottengo:codice:Private Sub BuildPagingMenu(ByVal CurPage As Integer, ByVal PageCount As Integer) If CurPage >= PageCount Then h_following.text="prova" End If End Sub
Compiler Error Message: BC30451: Name 'h_following' is not declared.

Rispondi quotando