I got a Dundas map in my page and trying to update with RadAjaxManager. Whenever there is a postback all the controls are
loading but the map. The map is simply disappearing. This is working with normal AJAX update panel.
Please let me know how to link Dundas map with RadAjaxManager.
Thanks in advance,
Srikanth.
6 Answers, 1 is accepted
Hi Cori,
Following is the RadAjaxmanager. 'MapControl1' is the ID of the dundas map which is in a table on the page . Please let me know what went wrong with this?
thanks.
Srikanth.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableOutsideScripts="true" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="bntUpdate">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblFilters" />
<telerik:AjaxUpdatedControl ControlID="DecisionChart" />
<telerik:AjaxUpdatedControl ControlID="ReceiptsChart" />
<telerik:AjaxUpdatedControl ControlID="FilingRateChart" />
<telerik:AjaxUpdatedControl ControlID="CompareChart" />
<telerik:AjaxUpdatedControl ControlID="MapControl1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="Button1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblFilters" />
<telerik:AjaxUpdatedControl ControlID="DecisionChart" />
<telerik:AjaxUpdatedControl ControlID="ReceiptsChart" />
<telerik:AjaxUpdatedControl ControlID="FilingRateChart" />
<telerik:AjaxUpdatedControl ControlID="CompareChart" />
<telerik:AjaxUpdatedControl ControlID="MapControl1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="Button2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblFilters" />
<telerik:AjaxUpdatedControl ControlID="MapControl1" />
<telerik:AjaxUpdatedControl ControlID="DecisionChart" />
<telerik:AjaxUpdatedControl ControlID="ReceiptsChart" />
<telerik:AjaxUpdatedControl ControlID="FilingRateChart" />
<telerik:AjaxUpdatedControl ControlID="CompareChart" />
<telerik:AjaxUpdatedControl ControlID="MapControl1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
<asp:Image ID="Image1" runat="server" ImageUrl="Images/loading3.gif" AlternateText="loading" />
</telerik:RadAjaxLoadingPanel>
Could you please let me know if the Map control and its container are always visible on the page or they have visible false on some stage in the application? Note that adding initially invisible controls into the ajax settings is not supported scenario. The initiator and target controls should always be visible on the page.
Regards,
Maria Ilieva
the Telerik team
The map control and the container are always visible. The same page is working with standard AJAX library(Update panel). But the map is disappearing with 'RadAjaxManager' during postbacks.
As the provided information is not enough to isolate the root cause of the issue you are facing, please prepare a simple, fully runnable reproduction demo, open a new support ticket and send it to us along with very detailed reproduction steps and explanations and we will debug it locally and we will do our best to help.
Regards,
Maria Ilieva
the Telerik team
After further investigation I came to the conclusion that the problem might be in the Dundas Map control which is checking if the ScriptManager on the page is asp Script Manager and registering its script only with it. I would suggest you to test the application by using RadAjax by asp Script Manager on the page and verify if this makes any difference.
Best wishes,
Maria Ilieva
the Telerik team