Jun 08, 2009, 12:04 PM
Get value of RadioGroup selected with Request.Form()
Hello..
I create a RadioGroup dinamically with the next code...
The "Id" is the clientId of the .Ascx
Then the Id of the radiogroup is "ControlClientes_Radiogroup1"
Dim RB As New Coolite.Ext.Web.RadioGroup
RB.ID = id
Dim r As New Radio
r.Checked = True
r.ID = id & "YES"
r.Value = "true"
r.FieldLabel = "SI"
RB.Items.Add(r)
Dim r2 As New Radio
r2.Checked = False
r2.ID = id & "NO"
r2.Value = "false"
r2.FieldLabel = "NO"
RB.Items.Add(r2)
RB.Width = width
RB.ColumnsNumber = 1
Return RB
Then I try to catch the value os this radiogroup with Request.Form(ControlClientes_Radiogroup1)But always catch Nothing... even if the RadioButton is checked...?
Why...?
ThankĀ“s
Gustavo Montero G.