I add new form include RadioButtonList
ho to add
onclick="UpdateRecord(this.value)" to each option at the radio botton
the form code is
<AddForm>
<SubmitCommand CommandText="INSERT INTO [Lists] ([ListName], [Text], [Text], [ListName]) VALUES(@ListName, @Text, @Text, @ListName) " />
<div>
<div><Label CssClass="xmp-form-label" For="Lanuage">RadioButtonList</Label>
<RadioButtonList Id="Lanuage" DataField="ListName" RepeatLayout="Table" SelectedItemsSeparator="|" DataType="string">
<ListItem Value="1">English</ListItem><ListItem Value="2">Spanish</ListItem><ListItem Value="3">French</ListItem></RadioButtonList></div>
<div id="Lang1" style="display: none;"><Label CssClass="xmp-form-label" For="NameEn">What is your name</Label><TextBox Id="NameEn" DataField="Text" DataType="string"></TextBox></div>
<div id="Lang2" style="display: none;"><Label CssClass="xmp-form-label" For="NameSp">Cuál es tu nombre</Label><TextBox Id="NameSp" DataField="Text" DataType="string"></TextBox></div>
<div id="Lang3" style="display: none;"><Label CssClass="xmp-form-label" For="NameFr">Quel est votre nom</Label><TextBox Id="NameFr" DataField="ListName" DataType="string"></TextBox></div>
<div><Label> </Label><AddButton Text="Add"></AddButton><CancelButton Text="Cancel" style="margin-left: 12px;" Visible="true"></CancelButton></div>
</div></AddForm>