I have a menu on a master page that opens a radwindow (window1) this window contains a radgrid. In the radgrid I have some code that opens a second window (window2) to allow editing of the grid contents. This works ok, but Im having a problem referencing window2 if my .aspx page is in a subdirectory and not the site root. Heres whats happening
I activate window2 when my main page is
/Website/default.aspx the page is in the root (using this bit of code var oBrowserWnd = GetRadWindow().BrowserWindow;)
I call this code
the edit form is found and opens ok
If the .aspx page happens to be in a subdirectory, eg
/Website/ArtistAdmin/ArtistAdminPage.aspx
the window cant be found because BrowserWindow is
/website/artistadmin/artistadmin.aspx
so radopen tries this
/website/artistadmin/artistadmin/artistadmin.aspx
How can I force radopen to use the root directory of my site ?
I activate window2 when my main page is
/Website/default.aspx the page is in the root (using this bit of code var oBrowserWnd = GetRadWindow().BrowserWindow;)
I call this code
var oBrowserWnd = GetRadWindow().BrowserWindow;
oBrowserWnd.radopen("ArtistAdmin/BandMemberEditForm.aspx?ID=" + id, "BandMemberDialog");
return false;
the edit form is found and opens ok
If the .aspx page happens to be in a subdirectory, eg
/Website/ArtistAdmin/ArtistAdminPage.aspx
the window cant be found because BrowserWindow is
/website/artistadmin/artistadmin.aspx
so radopen tries this
/website/artistadmin/artistadmin/artistadmin.aspx
How can I force radopen to use the root directory of my site ?