Hi,
I am trying to adjust the width of the input box but it's not working. Weirdly other properties work but I am not getting to reflect the changes in width.
My CSS code:
html .RadAutoCompleteBox .racInput {
font-family
:
sans-serif
;
font-size
:
1.2em
;
height
:
30px
;
width
:
1000px
!important
;
}
My aspx code:
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadAutoCompleteBox
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadAutoCompleteBox1"
autopostback
=
"true"
EmptyMessage
=
"Type in data..."
DataSourceID
=
"SqlDataSource1"
DataTextField
=
"edesc"
DataValueField
=
"ecode"
InputType
=
"Token"
Width
=
"450"
DropDownWidth
=
"150px"
OnEntryAdded
=
"RadAutoCompleteBox1_EntryAdded"
OnEntryRemoved
=
"RadAutoCompleteBox1_EntryRemoved"
>
</
telerik:RadAutoCompleteBox
>
Notice that I define a default value of 450 in ASPX code but as far as I know the CSS should override it, correct? Anyway, I tried to remove the initial definition but CSS still won't work.
As I mentioned all other properties work fine but the "width" one. Any idea?
Thanks in advance!