To popup Two different Pages

2 posts, 0 answers
  1. Ragupathi
    Ragupathi avatar
    41 posts
    Member since:
    Jul 2008

    Posted 23 Jul 2008 Link to this post

    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
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 23 Jul 2008 Link to this post

    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
Back to Top