This is a migrated thread and some comments may be shown as answers.

Dundas Map and RadAjaxManager

6 Answers 61 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
srikanth
Top achievements
Rank 1
srikanth asked on 08 Sep 2010, 09:56 PM

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

Sort by
0
Cori
Top achievements
Rank 2
answered on 09 Sep 2010, 04:45 PM
Show us how you RadAjaxManager is configured and how you page is laid out, if the Dundas map is inside of another control, for example. That way we can see what is the problem.
0
srikanth
Top achievements
Rank 1
answered on 09 Sep 2010, 04:58 PM

 

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>

 

0
Maria Ilieva
Telerik team
answered on 14 Sep 2010, 09:30 AM
Hi srikanth,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
srikanth
Top achievements
Rank 1
answered on 14 Sep 2010, 02:02 PM
Hi Maria,

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.
0
Maria Ilieva
Telerik team
answered on 15 Sep 2010, 12:30 PM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Maria Ilieva
Telerik team
answered on 16 Sep 2010, 02:05 PM
Hello,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
srikanth
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
srikanth
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or