tia_kamakshi
asked on
.Net produces span tag for CSS for Radiobutton controls
Hi,
I am working on ASP.net2.0 website using C#
I have a .net radiobutton control as follows:
<asp:RadioButton ID="RadioButton1" class="js-required" data-validate="isFilled" runat="server" />
When it renders it produces the result
<span class="js-required" data-validate="isFilled">< input id="RadioButton1" type="radio" name="RadioButton1" value="RadioButton1" /></span>
After rendering can .Net produces the result as follows:
<input id="RadioButton1" type="radio" name="RadioButton1" value="RadioButton1" class="js-required" data-validate="isFilled"/>
I mean I donot wanted <span class="js-required" data-validate="isFilled"> around input control
As it is giving hard time in jquery to understand radiobutton class
Please suggest
Thanks
I am working on ASP.net2.0 website using C#
I have a .net radiobutton control as follows:
<asp:RadioButton ID="RadioButton1" class="js-required" data-validate="isFilled" runat="server" />
When it renders it produces the result
<span class="js-required" data-validate="isFilled"><
After rendering can .Net produces the result as follows:
<input id="RadioButton1" type="radio" name="RadioButton1" value="RadioButton1" class="js-required" data-validate="isFilled"/>
I mean I donot wanted <span class="js-required" data-validate="isFilled"> around input control
As it is giving hard time in jquery to understand radiobutton class
Please suggest
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.