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

[Solved] Set querystring values and open window in one click?

1 Answer 157 Views
Window
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 May 2008, 09:22 AM
Hello,

I need to pass a query string to a rad window and then open it.

I have 1 button that, when clicked, it creates and sets the correct navigateUrl for the radwindow but I then want the window to open - so the user only has to click 1 button - I could have 2 buttons - 1 to generate the correct navigateurl and then get the user to click a second button but that's not really very good.

I need a way of setting the querystring values on the server and then invoking the window to open - all in 1 hit.

Is this possible?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 14 May 2008, 10:04 AM
Hi John,

You can build the Url with the query string on the server and then open the RadWindow from the server as well by using the NavigateUrl property.
More information on the subject is available in the documentation, section Controls / RadWindow / Programming / Setting Server-Side Properties.



All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
John
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or