Hello,
I created a new combobox class and used the RadDropDownList as base class, but when I override the CreateDropDownListElement function and return my own element, a black border appears:
I created a new combobox class and used the RadDropDownList as base class, but when I override the CreateDropDownListElement function and return my own element, a black border appears:
public
class
TestComboBox : RadDropDownList
{
public
override
string
ThemeClassName
{
get
{
return
typeof
(RadDropDownList).FullName;
}
set
{
base
.ThemeClassName = value;
}
}
protected
override
RadDropDownListElement CreateDropDownListElement()
{
//return base.CreateDropDownListElement();
return
new
TestElement(
this
);
}
}
public
class
TestElement : RadDropDownListElement
{
public
TestElement()
{
//
}
public
TestElement(
object
owner)
:
base
(owner)
{
//
}
}