tuzojazz Posted September 30, 2009 Share Posted September 30, 2009 Hi guys:This is my code for a radio button. "disabled" is not a property of asp:radiobutton <asp:radiobutton id="rdbPeriod" runat="server" disabled="true" Text="Period" GroupName="Ab"></asp:radiobutton> the output html is this <span disabled="true"><input id="rdbPeriod" type="radio" name="Ab" value="rdbPeriod" /><label for="rdbPeriodo">Period</label></span> why the input is enclosed whithin <span> tags?I want to get this ouptut html <input id="rdbPeriod" type="radio" name="Ab" value="rdbPeriod" disabled="true"/><label for="rdbPeriodo">Period</label> How can I do it?Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.