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

RadMenu Navigating to SSL pages

2 Answers 78 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 12 Sep 2014, 03:44 PM
I have a site that supports both http and https binding. When I attempt to navigate to a page that requires SSL I get an error because the connection was attempted using http. How can I specify the protocol to use on a local pages? It works if I put the complete URL https://etc.... but I was hoping I could continue to use relative links and just change the protocol?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 17 Sep 2014, 09:56 AM
Hi Richard,

In general the RadMenu uses the ResolveClientUrl methods to resolve URLs defined via the NavigateUrl property and MSDN documentation states the following: "The URL returned by this method is relative to the folder containing the source file in which the control is instantiated.". This means that if the RadMenu is on a page requested via https, then the page to which it navigates will be requested via https as well. This could be verified on our online demos here.

Regards,
Dimitar Terziev
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.

 
0
Richard
Top achievements
Rank 1
answered on 19 Sep 2014, 01:27 PM
I didn't want to overlook something simple. I can dynamically build the URL and change the protocol. Thanks Dimitar.
Tags
Menu
Asked by
Richard
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Richard
Top achievements
Rank 1
Share this question
or