This question is locked. New answers and comments are not allowed.
Hello folks,
i tried to restyle a combobox to have a rounded border, which works quite well, but one quirk is driving me nuts and i just can't solve this problem. As you can see in the attached screenshot, there are tiny white spots on the edges of the combobox, which shouldn't be there, They may be not visible at the fist glance, but they are there and our customer wants them gone. I am using the Office2010Black.css and the telerik.common.css, both are registered in the MasterPage. I would be so grateful if someone could help me out here, because i literally spent days to fix this to no avail.
Below you find the css code im using to change the borders
.t-state-
default
{
border-color
:
#434449
!important
;
}
.t-input{
background-color
:
#434449
;
border
:
solid
1px
#434449
;
This is how i create the Combobox:
<% Html.Telerik().ComboBox() _
.Name(
"ComboBox_ProductTitle"
) _
.AutoFill(
True
) _
.Value(Request.Form(
"ComboBox_ProductTitle"
)) _
.BindTo(
New
SelectList(Model.ProductDistinctTitles,
"Text"
,
"Value"
)) _
.HtmlAttributes(
New
With
{.style =
"border: 1px solid #434449; background-color:#434449;border-radius:3px;vertical-align:middle;"
}) _
.DropDownHtmlAttributes(
New
With
{.style =
"width:250px !IMPORTANT;overflow-x: hidden; border-radius:3px;"
}) _
.Filterable(
Function
(filtering) filtering.FilterMode(AutoCompleteFilterMode.StartsWith)) _
.HighlightFirstMatch(
False
) _
.OpenOnFocus(
False
) _
.Render()%>