We have one site where we are seeing an odd behavior in RadComboBox, that I've never seen in any of our other sites.
We have a lot of radcomboboxes throughout this site, some of which have pre-defined items, or items added on page load in the code behind. These comboboxes all work perfectly fine, exactly as expected.
A lot of the comboboxes however use load-on-demand to query items at runtime for the user's input. ALL of these comboboxes have the same problem. They seem to perform their AJAX postback fine, and get the correct data, and the items all get added to the combobox, showing the correct data.
The problem though is that the load-on-demand items cannot be selected. You can't click on them, you can't even use the arrow-keys to up/down to them and select one.
The Web Developer tools in the browser don't show any javascript failing to load on page load,
they don't show any errors in the Console tab on the initial page load, or the load-on-demand postback
they don't show any errors in the Network tab on the initial page load, or the load-on-demand postback
This project was originally written in ASP.NET 2.0, and we are upgrading it to 4.7.2.
Updated the latest Telerik DLLs, updated the latest jQuery libraries, updated the compilation nodes in the web.config.
Did this issue ever get resolved? I have run into the exact same issue and am desperate for a solution.
Thank you,
Frank.
Hi Frank,
The issue "Not being able to click an item" of a ComboBox with Load On Demand enabled could be caused by multiple things. It is important to Note that Telerik Components implement the IScriptControl interface, and they heavily depend on JavaScript. If there's a JavaScript exception on the page,. that might prevent the Combo to work as expected.
I suggest inspecting the Console tab of the Browser's DevTools for potential JavaScript errors. If you see any, you would need to eliminate them.
Here are some resources that might help in the investigation:
Sometimes, a server exception may appear as a JavaScript exception, and that happens if AJAX is enabled. This is what Vessy has tried to address in her answer. Please review her answers and give those suggestions a try.
If none of those suggestions help the case, we would need to debug the problem, but for that, we would more information that will help us replicate the issue. Namely, the markup and backend code used to create and implement the ComboBox.
If the problem can be replicated using only the ComboBox specific code, we will review the source code and give you a solution if possible.