L
Luiz Vianna
Hi Guys,
I must missing something here:
My page add a Radion Button by program using a code like this:
Dim myRadioButton As New RadioButton
myRadioButton.EnableViewState = True
myRadioButton.ID = "ID1"
myRadioButton.GroupName = "Group1"
myRadioButton.Text = "My Text"
PlaceHolder1.Controls.Add(myRadioButton)
(There is also a button Next that causes the postBack. )
When the page loads I can see the radioButton on the page just fine, but....
When the page is "postbacked" I "go" to the "PlaceHolder1" and it has no controls on it?
Why is that? If I saw the control, it was rendered, wasn't it?
Thanks
Luiz
I must missing something here:
My page add a Radion Button by program using a code like this:
Dim myRadioButton As New RadioButton
myRadioButton.EnableViewState = True
myRadioButton.ID = "ID1"
myRadioButton.GroupName = "Group1"
myRadioButton.Text = "My Text"
PlaceHolder1.Controls.Add(myRadioButton)
(There is also a button Next that causes the postBack. )
When the page loads I can see the radioButton on the page just fine, but....
When the page is "postbacked" I "go" to the "PlaceHolder1" and it has no controls on it?
Why is that? If I saw the control, it was rendered, wasn't it?
Thanks
Luiz