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

[Solved] Google Maps API in MultiPage

3 Answers 243 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Paco
Top achievements
Rank 1
Paco asked on 17 Jan 2009, 01:38 PM
Hi,

I have been having trouble adding a Google Maps APi to a MultiPage and TabStrip. If the Google Maps is in the selected index 0, that is the first page everything works fine, but if I have the map in a different page, say index 1 or 2 the map appears but it does not work properly. I also have a asp button in the same page of the map, which for the moment has no function, if I press it the page reloads and the map works fine.
Thanks...
Paco Valverde

3 Answers, 1 is accepted

Sort by
0
Asher
Top achievements
Rank 1
answered on 17 May 2009, 11:37 PM
Yeah i have the same issue with the trial version using windows live earth and google maps.
Anyone know why this occurs?
0
Paul
Telerik team
answered on 18 May 2009, 12:34 PM
Hi Asher,

You can easily achieve your goal by setting the RenderSelectedPageOnly property of the multipage to True. Please, note that in order to use the RenderSelectedPageOnly property of the multipage, you have to set the AutoPostBack property of the tabstrip to True as well. In addition, if you want to avoid the postbacks while moving between tabs, you can ajaxify both controls; simple place the tabstrip and the multipage controls into a RadAjaxPanel.

Best wishes,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Muhammad Imran
Top achievements
Rank 1
answered on 05 Nov 2009, 07:57 PM
I fixed with following but i am using regular map

 function onTabSelected(sender, args) {          
            mapsmall.checkResize();

        }
Tags
TabStrip
Asked by
Paco
Top achievements
Rank 1
Answers by
Asher
Top achievements
Rank 1
Paul
Telerik team
Muhammad Imran
Top achievements
Rank 1
Share this question
or