Getting below error while binding Combo Box on demand in RadGrid with BatchEdit Mode. Please help
The target 'ctl11$RadGridSearchResult$ctl11_RadGridSearchResult_ctl00_Actplc$Actplc' for the callback could not be found or did not implement ICallbackEventHandler.
public class CreateRadComboTemplate : ITemplate
{
private string tempName;
private int catId;
public CreateRadComboTemplate(string templateName, int catId)
{
this.tempName = templateName;
this.catId = catId;
}
public void InstantiateIn(System.Web.UI.Control container)
{
RadComboBox rcBox = new RadComboBox();
rcBox.ID = this.tempName;
rcBox.ItemsRequested += rcBox_ItemsRequested;
rcBox.EnableAutomaticLoadOnDemand = true;
container.Controls.Add(rcBox);
}
void rcBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
//throw new NotImplementedException();
}
}
The target 'ctl11$RadGridSearchResult$ctl11_RadGridSearchResult_ctl00_Actplc$Actplc' for the callback could not be found or did not implement ICallbackEventHandler.
public class CreateRadComboTemplate : ITemplate
{
private string tempName;
private int catId;
public CreateRadComboTemplate(string templateName, int catId)
{
this.tempName = templateName;
this.catId = catId;
}
public void InstantiateIn(System.Web.UI.Control container)
{
RadComboBox rcBox = new RadComboBox();
rcBox.ID = this.tempName;
rcBox.ItemsRequested += rcBox_ItemsRequested;
rcBox.EnableAutomaticLoadOnDemand = true;
container.Controls.Add(rcBox);
}
void rcBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
//throw new NotImplementedException();
}
}