RadWindow Does Not Open

2 posts, 0 answers
  1. bslaght
    bslaght avatar
    184 posts
    Member since:
    Jun 2006

    Posted 01 Feb 2015 Link to this post

    Hi All,

    Very odd behaviour here...pretty basic radwindow.  Opens based on Hyperlink ElementOpenerID.
    See the page here: http://dcmapsa.azurewebsites.net/map.aspx

    Bottom left under Help, there are 3 links. They should open 3 different windows.  Simply does not work.  My guess is code conflict somewhere.

    Odd thing is that it works on this page without issue...

    Anybody got any ideas on this glitch?


  2. Marin Bratanov
    Marin Bratanov avatar
    3555 posts

    Posted 02 Feb 2015 Link to this post

    Hello Brett,

    Let me first note that once I open the page, I get the following error in the console, so you may want to look into that:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    As for the RadWindows - you need to use the ClientIDs of the hyperlinks when the OpenerElementID property is used, as shown in this demo: http://demos.telerik.com/aspnet-ajax/window/examples/openandposition/defaultcs.aspx. The page uses the server IDs (e.g., hlHowTo) instead of the rendered HTML element id attribute (RadPanelBar1_i4_hlHowTo). ASP.NET changes the IDs of some elements when they are in INamingContainers and the other option you can consider is setting the ClientIDMode of those three hyperlinks to Static so ASP does not change their IDs.

    This works on the simpler page because the link is not in a complex structure, so the ID attribute matches the ClientID attribute.


    Marin Bratanov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top