Tab & Radwindow

5 posts, 1 answers
  1. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 16 Dec 2009 Link to this post

    Dear all,

    I have a user-control that has a RadTabStrip with 2 Tabs on it, with two tabpages and a RadMultiPage with 2 PageViews.
    everything is okay.

    I have a button on the second pageview that opens a radwindow, the first time it opens the control goes back to the correct pageview (the second one) but If the click again on the button the second tabs selected but the first pageview is visible !!

    Why is this happens ...

    Best regards
    Waleed
  2. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 20 Dec 2009 Link to this post

    Dear All,

    I wish to find an answer to my question ...

    Best regards
    Waleed
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 21 Dec 2009 Link to this post

    If you explicitly tell the button to set the selected index of the pageview to the one of the 2nd tab then I think you should be fine, there must just be some issue with postbacks loosing information or something :)
  5. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 21 Dec 2009 Link to this post

    Hello Schlurk ,

    I would like to clarify that the button is on the 2nd pageview and it open the radwindow, after radwindow close the focus returns back to the button and the 2nd pageview at the first time only, if I click again the button and close the radwindow the 1st pageview is displayed not the 2nd one as it should be !!

    If you mean that I should explicitly show the 2nd page in the CodeBehind after the radwindow close to solve the issue, it is okay I can try this.

    Best regards
    Waleed
  6. Answer
    Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 21 Dec 2009 Link to this post

    You can also use the example found in the following demo which shows how you can call for a certain tab and pageview to be displayed via client-side. You can do this in the OnClientClose event of RadWindow.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017