So I have a rad tree list. In there I am using a user control that is getting it's data source from code behind.
and then I set the combobox data source like this
If I remove the ajaxification it works perfectly. If I leave it the combo box won't drop down.
I could use some help on this.
protected
override
void
OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base
.OnInit(e);
listOfMenuTypes =
new
SubCategory().SelectAllSubCategoriesBySiteNotDeleted(ThisSiteID).Where(i => i.CategoryID ==
new
Category().SelectCategoryByDescriptionAndSiteIDNotDeleted(
"Menu Types"
, ThisSiteID).LookupCategoryID).ToList();
}
and then I set the combobox data source like this
protected
void
HomeDocumentForm_DataBound(
object
sender, EventArgs e)
{
MenuSelectList.DataSource = listOfMenuTypes;
MenuSelectList.DataTextField =
"TypeDescription"
;
MenuSelectList.DataValueField =
"LookupTypeID"
;
MenuSelectList.DataBind();
}
If I remove the ajaxification it works perfectly. If I leave it the combo box won't drop down.
I could use some help on this.