Hello,
I have a user control that contains a promethus combobox that is load on demand from a web service.
The control is on the page initially, but in a hidden panel (so not rendered)
I then set the panel visible during a RadAjaxManager postback.
This shows the user control, but the drop down does not work at all.
Is there any work around to this situation, even if it is as ugly as registering javascript during the ajax callback?
I noticed that the following javascript is rendered for the combo's in the user controls that are intially visible, but is not rendered for the combo's in the user controls made visible during the ajax postback. (this is from the rendered JS not the view source of the page)
I have a user control that contains a promethus combobox that is load on demand from a web service.
The control is on the page initially, but in a hidden panel (so not rendered)
I then set the panel visible during a RadAjaxManager postback.
This shows the user control, but the drop down does not work at all.
Is there any work around to this situation, even if it is as ugly as registering javascript during the ajax callback?
I noticed that the following javascript is rendered for the combo's in the user controls that are intially visible, but is not rendered for the combo's in the user controls made visible during the ajax postback. (this is from the rendered JS not the view source of the page)
WebForm_InitCallback();Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_showDropDownOnTextboxClick":false,"_skin":"Office2007","_uniqueId":"ctl00$ContentPlaceHolder1$RetailComponentControl1$ddlFrom","allowCustomText":true,"clientStateFieldID":"ctl00_ContentPlaceHolder1_RetailComponentControl1_ddlFrom_ClientState","collapseAnimation":"{\"type\":12,\"duration\":200}","enableLoadOnDemand":true,"itemData":[],"text":"","value":"","webServiceSettings":"{\"path\":\"/CallbackWebServices/ComboBoxLists.asmx\",\"method\":\"AirportList\"}"}, {"itemsRequesting":itemRequesting}, null, $get("ctl00_ContentPlaceHolder1_RetailComponentControl1_ddlFrom"));
});
Could I just manually add this and make it work?
