The RadComboxBox appears work find with small amount of items lets say 10 items loaded. The OfficeId value type is a GUID, and the DataTextField is a just a string contain city names.
If I select an item near the bottom of the dropdown then click anywhere on the page, the selected item drops and the RadCombo box selects an item near the top of the list. I found this to be the case with the lastest version of Firefox and IE8/7.
Am I missing something.
14 Answers, 1 is accepted
We could not reproduce the problem in our RadComboBox / LinqDataSource demo. Can you reproduce the problem outside Sitefinity (in a blank new web application)? Are the values of the items really unique?
the Telerik team
My solution was to load the combo on form load. I loaded my Office Name into a list and check for duplicates then biinded the list to the control
When I get caught up here I will go back try using GUID again with this approach to see if if happens again. I think the OfficeId(Guid) should be a unique value since it is my primary key in the database table.
I did have a layout problem with IE8 where the combo box would run under the command button next to it. My work around for that was just set up a table with two columns.
Thanks for the reply, I will did dig in to this when I get caught up and let you know if I find anything. I really do like the RadCombo box, this was the first time I had use for it.
Could you maybe give me some hints how to debug this problem? I am using FireBug, and was inspecting this issue, I tried to set some break points but they were not passed. Do you have any ideas where I should set a break point to check what's going on, or which values to check?
The best way to proceed would be to send us a sample project where we can reproduce the issue locally. We will debug our code and find where the problem is.
the Telerik team
In my case, however, it only happens sometimes. (Also, when I use the keyboard to make the change and then tab to the next control, the selected value typically stays selected -- no change takes place.)
"Looks like this is a bug in our RadControls for ASP.NET AJAX which has nothing to do with ESRI's controls. When you specify Filter the AllowCustomText mode is automatically switched on, but seems its not properly initialized. So, as a workaround try setting radComboBox.AllowCustomText = true after creating the controls in Page_Load."
I *did* notice, however, that the selection changes ONLY when a non-unique first word value is selected. For example, if I load the following into a combo box:
and select Search 2 or Search 3, when I click anywhere outside the combo box, Search 1 gets selected. If I select Object Form, Object Type is selected and when I select Creation Time, Creation Date is selected.
It appears this has to do with the first word in the list vs. anything else. Is there a setting I'm missing? Here's the code for the combo box declaration:
Please make sure that the items have different Value properties. If two items have the same Value - the combobox will chose the first one even if you selected the second one.
Try setting unique Value property for each items and I believe the problem will not manifest.
the Telerik team
Waiting for the Solution.
I guess you want to select an Item from RadComboBox on blur. Please check the below sample code snippet which works fine at my end. Please elaborate your requirement if it doesn't help.
Thanks for your reply.
I didn't get the solution.I am using a RadCombobox inside a Rad List View which is ajaxified and contains a Item Template and EditItem Template.
The Rad combobox is within the Edit Item Template
<rad:RadComboBox ID="ddlStatus" runat="server" Width="100px" DropDownWidth="200"
<rad:RadComboBoxItem Text="None" Value="0" />
i am binding this combo box in the server side in the RadListView_ItemCreated event as follows,
protected void RadListView_ItemCreated(object sender, RadListViewItemEventArgs e)
if (e.Item.ItemType == RadListViewItemType.EditItem)
RadListViewDataItem item = e.Item as RadListViewDataItem;
string ChecklistHeaderId = item.GetDataKeyValue("ChecklistHeaderId").ToString();
string InspectionChecklistItemID = item.GetDataKeyValue("InspectionChecklistItemID").ToString();
string checklistItemStatus = item.GetDataKeyValue("checklistItemStatus").ToString();
RadDropDownList statusCombo = (RadDropDownList)e.Item.FindControl("ddlStatus");
statusCombo.DataSource = MOCAdministration_BLL.FetchChecklistStatusItemByChecklistHeaderID(iProcess.Util.IProConvert.toInt32(ChecklistHeaderId));
statusCombo.DataValueField = "ChecklistStatusHeaderID";
statusCombo.DataTextField = "StatusDesc";
// statusCombo.Items.Insert(0, new RadComboBoxItem("None", "0"));
if (statusCombo.Items.Count > 0)
statusCombo.SelectedValue = checklistItemStatus != null ? checklistItemStatus : "0";
It is working fine now.
""Try setting unique Value property for each items and I believe the problem will not manifest.""
This solved my case.
After select, ajax post back then click anywhere on page ( left/right ) cause reset to select first item again default.
My case cause by non-unique value with data. Thanks.