I'm pretty new to radcontrols and Ajax in general, so I'll try to be as thorough as possible in describing the scenario, but if you need more information please let me know.
Scenario:
I have an ASP textbox and a radComboBox that are both managed with a RadAjaxManager. Both controls are set up to update each other in the AjaxManager. The textbox has an TextChanged event handler that calls a function to load the radCombo, and the radCombo has an ItemsRequested event handler that also loads the combo.
the RadCombo is set with the following properties:
AppendDataBoundItems = true
AutoPostBack = true
EnableLoadOnDemand = true
MarkFirstMatch = true
The code in both the function called from the textbox textchanged event, as well as in the radCombo ItemsRequested event, makes a SQL server database call to retrieve the data for the combo.
We have entered text into the textbox control and then we click on the dropdown image of the RadCombo. We then see the "loading" message and then we receive a Javascript error:
this.Items.length is null or not an object.
After debugging, we found that the Items attribute is null. Does anyone have a possible resolution?
Scenario:
I have an ASP textbox and a radComboBox that are both managed with a RadAjaxManager. Both controls are set up to update each other in the AjaxManager. The textbox has an TextChanged event handler that calls a function to load the radCombo, and the radCombo has an ItemsRequested event handler that also loads the combo.
the RadCombo is set with the following properties:
AppendDataBoundItems = true
AutoPostBack = true
EnableLoadOnDemand = true
MarkFirstMatch = true
The code in both the function called from the textbox textchanged event, as well as in the radCombo ItemsRequested event, makes a SQL server database call to retrieve the data for the combo.
We have entered text into the textbox control and then we click on the dropdown image of the RadCombo. We then see the "loading" message and then we receive a Javascript error:
this.Items.length is null or not an object.
After debugging, we found that the Items attribute is null. Does anyone have a possible resolution?