Unable to access controls within a Repeater

Discussion in 'ASP .Net' started by DavidTurcotte, Dec 8, 2003.

  1. Hi

    i have a repeater to which i add 10 asp:label and other
    control.

    i can not acces those controls

    Ex:

    Select Case webctrl.GetType.FullName
    Case aspRepeater.GetType.FullName
    fct1(CType(webctrl, Repeater), xNode_Control)
    End Select

    fct1 is:

    fct1 (ByVal pctr_dataRepeater As
    System.Web.UI.WebControls.Repeater)

    if i do pctr_dataRepeater.hasControls it return 0.

    the pctr_dataRepeater.controls is nothing.

    Does anyone has a problem like this. It works for datagrid.

    s.o.s.
    DavidTurcotte, Dec 8, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren Smith
    Replies:
    5
    Views:
    5,505
    dsmith
    May 10, 2004
  2. Tarun Mistry

    Server controls within a repeater?

    Tarun Mistry, Mar 15, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    485
    Tarun Mistry
    Mar 15, 2006
  3. AC [MVP MOSS]
    Replies:
    2
    Views:
    523
    AC [MVP MOSS]
    Feb 13, 2007
  4. Octavie

    Validation on controls within a repeater

    Octavie, Mar 25, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    472
    Teemu Keiski
    Mar 25, 2005
  5. Jaime Stuardo

    How to access a server control within a repeater control

    Jaime Stuardo, Aug 19, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    158
    Jaime Stuardo
    Aug 19, 2006
Loading...

Share This Page