Adding google map to RadPageView

2 posts, 0 answers
  1. Marvin
    Marvin avatar
    1 posts
    Member since:
    Jul 2015

    Posted 08 Jul 2015 Link to this post

    I was interested in adding a google map to a page on a RadMultiPage.  How do I get the javascript to execute whenever the specific RadPageView is actually visible?

    * At its core, the google map is an image attached to a DIV tag.  Here's a decent introduction to an older version (

  2. Ivan Danchev
    Ivan Danchev avatar
    1301 posts

    Posted 13 Jul 2015 Link to this post


    A RadPageView is selected and becomes visible when the RadTab it is associated with is clicked. You can use the RadTabStrip's OnClientTabSelected client-side event to get the ID of the currently selected and visible PageView as shown in the code snippet below, and execute your custom logic depending on the value returned by the get_id() method:
    function OnClientTabSelected(sender, eventArgs) {
        var multiPage = $find("<%=RadMultiPage1.ClientID %>");
        var pageView = multiPage.get_selectedPageView();
        var pageViewId = pageView.get_id();

    Ivan Danchev
    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 Feedback Portal and vote to affect the priority of the items
Back to Top