Hi guys,
I have just upgraded my telerik controls and discovered that all radinputs ( radtextbox, datepicker etc..) width have gone awry. Everything is now set to 100% width even though it was specified in the inline code to be of a certain pixel.
e.g.
When i go thru my firebug, it shows the default style as:
even though the parent span is taking the specifed width into consideration but it's still rendering the control as 100% width due to the above css style.
<span id="tbxSomething_wrapper" class="riSingle RadInput RadInput_Default" style="width: 250px;">
/*input control here*/
</span>
I can't actually override html body .riSingle .riTextBox[type="text"] style as it seems that every other "textbox like" input is using that same style..including datepickers.
Is there way where I can be able to set the width of specific textboxes without the use of CSS as these controls are generated dynamically from xml --> xslt --> aspx and I would like the users to be able to define the width of textboxes based on the type of input.
Please advise?
Regards
Jonathan
I have just upgraded my telerik controls and discovered that all radinputs ( radtextbox, datepicker etc..) width have gone awry. Everything is now set to 100% width even though it was specified in the inline code to be of a certain pixel.
e.g.
<
telerik:RadTextBox
ID
=
"tbxSomething"
runat
=
"server"
Skin
=
"Default"
width
=
"250px"
></
telerik:RadTextBox
>
When i go thru my firebug, it shows the default style as:
html body .riSingle .riTextBox[type="text"] {
margin: 0;
padding-left: 5px;
padding-right: 5px;
width: 100%;
}
even though the parent span is taking the specifed width into consideration but it's still rendering the control as 100% width due to the above css style.
<span id="tbxSomething_wrapper" class="riSingle RadInput RadInput_Default" style="width: 250px;">
/*input control here*/
</span>
I can't actually override html body .riSingle .riTextBox[type="text"] style as it seems that every other "textbox like" input is using that same style..including datepickers.
Is there way where I can be able to set the width of specific textboxes without the use of CSS as these controls are generated dynamically from xml --> xslt --> aspx and I would like the users to be able to define the width of textboxes based on the type of input.
Please advise?
Regards
Jonathan