Posted 18 Nov 2011
Link to this post
I am facing the following problem on RadComboBox. Scenario is as below:
1. We generate radcombobox within grid, other custom container models and independently.
2. In our earlier fix we used to have RadComboBox along with external call back page which is the streamer page and following is the definition:
RadComboBox m_combo = new RadComboBox();
m_combo.ID = string.Empty;
m_combo.SkinID = TEXT_SKIN_ID;
m_combo.EnableViewState = false;
m_combo.ExternalCallBackPage = "~/ComboBoxStreamerPage.aspx";
and in streamer page oninit event we have following code
RadComboBox comboBox = new RadComboBox();
comboBox.ID = Request.QueryString["rcbServerID"];
comboBox.EnableLoadOnDemand = true;
comboBox.ShowMoreResultsBox = true;
comboBox.EnableVirtualScrolling = true;
comboBox.EnableItemCaching = true;
This was working fine unless we upgraded telerik and no longer using external call back page instead using a web service.
My problem is I can't give a static id to combo since it will give me same IDs exception if added on same page multiple times. I also can't give new GuidID because it is giving me some other problems.
Please suggest me what should be the RadComboBox ID instead of string.Empty because now there is no external call back page.