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

open rad window

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
jo
Top achievements
Rank 1
jo asked on 08 May 2009, 04:49 PM

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!

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 May 2009, 10:28 AM
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.
Tags
Window
Asked by
jo
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or