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

RadWindow Does Not Open

1 Answer 136 Views
Window
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 2
Brett asked on 01 Feb 2015, 11:16 PM
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...
http://dcmapsa.azurewebsites.net/default.aspx

Anybody got any ideas on this glitch?

Thanks
Brett

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 02 Feb 2015, 10:56 AM

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.

Regards,

Marin Bratanov
Telerik
 

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.

 
Tags
Window
Asked by
Brett
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Share this question
or