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

RadWindow & Parent Querystring

2 Answers 130 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 06 May 2008, 09:13 AM
Hi,
I am using the rad toolbar to open a radwindow client-side..no problems..
However, what i am trying to do is open the radwindow with the parent window querystring parameter..
ie;
Parent window = CompanyInformation.aspx?ID=3
RadWindow = Buddy.aspx

I need the ?ID=3 to pass to the navigate Url of the radwindow.. ?

Is this possible, and if so how ?
Many Thanks
Mark

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 08 May 2008, 08:31 AM
Hi Mark,

This issue is not directly related to the RadWindow control - you need to get the query string from the parent page with Javascript (use document.location.href to get the full Url and use regex to get the portion after the question mark). Once you have the query string you will only need to add it in the radopen() function.
e.g.
radopen("MyPage.aspx?"+queryString, "RadWindow1");



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark
Top achievements
Rank 1
answered on 08 May 2008, 08:36 AM
.. Thanks
Tags
Window
Asked by
Mark
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Mark
Top achievements
Rank 1
Share this question
or