RadMenu Navigating to SSL pages

3 posts, 1 answers
  1. Richard
    Richard avatar
    2 posts
    Member since:
    Aug 2012

    Posted 12 Sep 2014 Link to this post

    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. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 17 Sep 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Richard
    Richard avatar
    2 posts
    Member since:
    Aug 2012

    Posted 19 Sep 2014 in reply to Dimitar Terziev Link to this post

    I didn't want to overlook something simple. I can dynamically build the URL and change the protocol. Thanks Dimitar.
Back to Top