Google Maps API in MultiPage

4 posts, 0 answers
  1. Paco
    Paco avatar
    2 posts
    Member since:
    Jul 2008

    Posted 17 Jan 2009 Link to this post

    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
  2. Asher
    Asher avatar
    1 posts
    Member since:
    Apr 2009

    Posted 17 May 2009 Link to this post

    Yeah i have the same issue with the trial version using windows live earth and google maps.
    Anyone know why this occurs?
  3. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 18 May 2009 Link to this post

    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.
  4. Muhammad Imran
    Muhammad Imran avatar
    34 posts
    Member since:
    Aug 2009

    Posted 05 Nov 2009 Link to this post

    I fixed with following but i am using regular map

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

            }
Back to Top