The adjusted width of the RadNumericTextBox will not render correctly in Chrome. I've tried everything I can think of with no luck. I want to adjust the width of the control to approximately 50-60px.
The problem appears to be the Spin Buttons. If I set ShowSpinButtons="False", then set the control's Width="50px" it resizes just fine.
ASPX Page
RENDERED HTML
The problem appears to be the Spin Buttons. If I set ShowSpinButtons="False", then set the control's Width="50px" it resizes just fine.
ASPX Page
<
style
>
.RadInput_Default table
{
width: 50px !important ;
}
</
style
>
<
div
class
=
"qty"
style
=
"width:50px;"
>
<
telerik:RadNumericTextBox
ID
=
"txtQty"
runat
=
"server"
MinValue
=
"1"
Value
=
"1"
ShowSpinButtons
=
"True"
NumberFormat-DecimalDigits
=
"0"
></
telerik:RadNumericTextBox
>
<
div
style
=
"clear:both;"
></
div
>
</
div
>
RENDERED HTML
<
div
class
=
"qty"
style
=
"width:50px;"
>
<!-- 2010.1.415.40 -->
<
div
id
=
"txtQty_wrapper"
class
=
"RadInput RadInput_Default"
style
=
"width:125px;"
>
<
table
cellpadding
=
"0"
cellspacing
=
"0"
class
=
"riTable"
style
=
"border-width:0;border-collapse:collapse;width:100%;"
>
<
tr
>
<
td
class
=
"riCell"
style
=
"width:100%;white-space:nowrap;"
><
input
type
=
"text"
value
=
"1"
id
=
"txtQty_text"
name
=
"txtQty_text"
class
=
"riTextBox riEnabled"
style
=
"width:100%;"
/><
input
style
=
"visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;"
id
=
"txtQty"
class
=
"rdfd_"
value
=
"1"
type
=
"text"
/><
input
style
=
"visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;"
id
=
"txtQty_Value"
class
=
"rdfd_"
name
=
"txtQty"
value
=
"1"
type
=
"text"
/></
td
><
td
class
=
"riSpin"
><
a
class
=
"riUp"
href
=
"javascript:void(0)"
id
=
"txtQty_SpinUpButton"
><
span
>Spin Up</
span
></
a
><
a
class
=
"riDown"
href
=
"javascript:void(0)"
id
=
"txtQty_SpinDownButton"
><
span
>Spin Down</
span
></
a
></
td
>
</
tr
>
</
table
><
input
id
=
"txtQty_ClientState"
name
=
"txtQty_ClientState"
type
=
"hidden"
/>
</
div
>
<
div
style
=
"clear:both;"
></
div
>
</
div
>