RadWindow and BingMaps

5 posts, 1 answers
  1. Darren
    Darren avatar
    14 posts
    Member since:
    Feb 2009

    Posted 24 Mar 2010 Link to this post

    Hi,

    I have a page which has a RadGrid, one of the columns has a imagebutton which opens a RadWindow by javascript.
    The RadWindow has a bing map usercontrol within it.

     <telerik:RadWindow ID="SiteMapDialog" runat="server" Title="Site Location Map" Width="400" 
                Height="400" VisibleOnPageLoad="false" Behaviors="Move, Resize,Close" 
                OffsetElementID="siteGrid"
                <ContentTemplate> 
                        <uc2:LE_Map ID="LE_Map1" runat="server" /> 
                </ContentTemplate> 
            </telerik:RadWindow> 

    When the radwindow appears the map seems to only partially render some map tiles or the tiles are shifting to the top left. You can only see one tile in the top left of the map itself. See image attached.

    The map displays fine if i just place it on the page underneath the grid.

    I am using Q1 2010

    Any help would be great thanks


  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Mar 2010 Link to this post

    Hi Darren,

    Try setting ShowContentDuringLoad to true.


    Sincerely yours,
    Georgi Tunev
    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.
  3. Darren
    Darren avatar
    14 posts
    Member since:
    Feb 2009

    Posted 27 Mar 2010 Link to this post

    Thanks for the help georgi, it did not make any difference.

    I ended up removing the custom bing map control from the content template.
    I then placed the bing map javascript on the page instead and placed a map div in the content template of the radwindow and it now works.

    I placed a bing map pushpin on the map and the infobox appears behing the radwindow, z-index issue i guess.

    Is there anyway to change the z-index of the radwindow?

    Thanks
  4. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 29 Mar 2010 Link to this post

    Hello Darren,

    By default RadWindow's z-Index is 3000 and it can be changed by the style property.
    e.g.
    <telerik:RadWindow
        ID="RadWindow1"
        style="z-index:2000"
        runat="server"
        .....

    I hope this helps. If you still experience problems, please open a support ticket and send us a small sample project so we could investigate further.


    Kind regards,
    Georgi Tunev
    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.
  5. Darren
    Darren avatar
    14 posts
    Member since:
    Feb 2009

    Posted 29 Mar 2010 Link to this post

    Thanks Georgi problem solved.
Back to Top