Hi guys,
I've been trying to set the width of a numerictextbox for about two hours now.
Most of my style elements don't even show up in the page. If I set ShowSpinButtons="True" the width is applied to the textbox itself it seems, but the label or something else is still too wide.
If I set ShowSpinButtons="False" the width is totally ignored.
I found this in some thread:
<style type="text/css">
.radLabelCss_Default
{
display: inline-block;
width: 10px;
}
</style>
It has no effect.
This is my numeric textbox definition:
<telerik:RadNumericTextBox ID="txtReaderHomeTeamScore" MinValue="0" MaxValue="99" MaxLength="2" Label="" NumberFormat-DecimalDigits="0" ShowSpinButtons="true" style="width: 40px; text-align:right" runat="server" />
Regards,
-DJ-
I've been trying to set the width of a numerictextbox for about two hours now.
Most of my style elements don't even show up in the page. If I set ShowSpinButtons="True" the width is applied to the textbox itself it seems, but the label or something else is still too wide.
If I set ShowSpinButtons="False" the width is totally ignored.
I found this in some thread:
<style type="text/css">
.radLabelCss_Default
{
display: inline-block;
width: 10px;
}
</style>
It has no effect.
This is my numeric textbox definition:
<telerik:RadNumericTextBox ID="txtReaderHomeTeamScore" MinValue="0" MaxValue="99" MaxLength="2" Label="" NumberFormat-DecimalDigits="0" ShowSpinButtons="true" style="width: 40px; text-align:right" runat="server" />
Regards,
-DJ-