
April 30th, 2008, 05:33 PM
|
 |
Contributing User
|
|
Join Date: Jan 2006
Posts: 210
  
Time spent in forums: 1 Day 11 h 31 m 5 sec
Reputation Power: 5
|
|
Quote: | Originally Posted by jmurrayhead Just to add to the above, to reference the "buried" control do such:
vb.net Code:
Original
- vb.net Code |
|
|
|
Private Sub Page_Load(sender As Object, e As EventArgs) Dim testIDtxt As TextBox testIDtxt = Repeater1.Controls.(0).FindControl("testID") testIDtxt.Text = "this WILL work" End Sub
Written in VB, but same concept. |
Is this line correct?
testIDtxt = Repeater1.Controls.(0).FindControl("testID")
I tried to c&p it, but Intellisense doesn't accept:
Repeater1.Controls.(0).FindControl("testID")
Repeater1.Controls(0).FindControl("testID")
Repeater1.Controls.FindControl("testID")
...
|