open rad window

2 posts, 0 answers
  1. jo
    jo avatar
    27 posts
    Member since:
    Jul 2008

    Posted 08 May 2009 Link to this post

    function

     

    ShowWindow(role){

     

     

    var win = window.radopen("~\Help.aspx?role=" + role, "HelpWindow");

     

     

    return false;

     

    }

    "~" not redirecting to the base directory. 
    My Help.aspx file is on base directory.How do I browse this page from other directories.

    thanks!

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 May 2009 Link to this post

    Hello jo,

    Using tilde (~) to point to the root of your web application will work only if you set that path from the server - when working with JavaScript you need to use either a relative or full Url (http://mysite.com/mypage.aspx).


    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top