I have created 2 server controls. The first creates a listbox and the intention is for the second control to pick up the value.
My second control has:
Dim myControl1 As New Control
Get
myControl1 = CType(FindControl("testListBox"), ListBox)
'myControl2 = myControl1.ID...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.