S
Savas Ates
I want to change my radiobutton's name ,id and value properties
programmatically.
RadioButton1.Attributes.Add("value", "Pele")
RadioButton1.Attributes.Add("name", "R1")
RadioButton1.Attributes.Add("id", "SAVAS")
It returns
<span name="R1" id="SAVAS" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px"><input id="RadioButton1" type="radio"
name="RadioButton1" value="Pele" /></span>
My first Html code is like that
<asp:RadioButton id="RadioButton1" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px"
runat="server"></asp:RadioButton>
programmatically.
RadioButton1.Attributes.Add("value", "Pele")
RadioButton1.Attributes.Add("name", "R1")
RadioButton1.Attributes.Add("id", "SAVAS")
It returns
<span name="R1" id="SAVAS" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px"><input id="RadioButton1" type="radio"
name="RadioButton1" value="Pele" /></span>
My first Html code is like that
<asp:RadioButton id="RadioButton1" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px"
runat="server"></asp:RadioButton>