Hi Telerik.
I have added a RadComboBox to a sharepoint editorpart. The combobox is rendered correctly but when clicking the arrow image or text nothing happens the list of items is not rolling down. !! i can't even select the first item in the list. its like the combox is disabled!!
the combox is added at runtime and so are the items. !!
Ajax is enabled on the sharepoint site
it looks something like this:
combo.EnableViewState =
true;
combo.ShowDropDownOnTextboxClick =
true;
foreach (SPListItem item in locationList.Items)
{
Telerik.Web.UI.
RadComboBoxItem comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.BackColor = System.Drawing.
Color.Gold;
foreach (SPListItem webpartLocation in webPartLocationItems)
{
if (webpartLocation["LocationsID"].ToString().ToUpper().Equals(item.UniqueId.ToString().ToUpper()))
{
comboItem.BackColor = System.Drawing.
Color.Green;
}
}
comboItem.Value = item.UniqueId.ToString();
comboItem.Text = item[
"Title"].ToString();
combo.Items.Add(comboItem);
}
Controls.Add(
new LiteralControl("Combo:<br/>"));
Controls.Add(combo);
Do you have any idea on whate im doing wrong?