Unable to access controls within a Repeater

D

DavidTurcotte

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top