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

To popup Two different Pages

1 Answer 54 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ragupathi
Top achievements
Rank 1
Ragupathi asked on 23 Jul 2008, 12:46 PM
I want to popup two different pages based on the RadButton clicked in RadToolBar.
When i use two RadWindows, both of them are poppingup when any button is clicked since the
OpenerElementId I have given is RadToolBar1.ClientID. If i use only one RadWindow,
how can i set the Navigate url dynamically based on the button clicked?

Thx

Ragu

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Jul 2008, 01:11 PM
Hello Ragupathi,

You can achieve the desired behavior by opening the desired RadWindow by using the control's client-side API as shown here.

In case you want to set another url when it is shown, you should capture the RadWindow's OnClientShow event and use the setUrl method.

Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Ragupathi
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or