ExplorerBar Sorting

4 posts, 2 answers
  1. Andreas Nebel
    Andreas Nebel avatar
    16 posts
    Member since:
    Jan 2010

    Posted 22 Jul 2011 Link to this post

    Hi,

    I'm just switching the last Controls from PanelBar to PageView. In some case I'm using the ExplorerBar-View. But why are newest Elements on Top? I'm adding the Pages programmatically and it adds the Pages always on top. How can I avoid this?

    And: how can I change the position of programmatically added Controls? All new controls appears in the upper left corner.

    Thank you!
    Andy
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 27 Jul 2011 Link to this post

    Hello Andreas,

    Thank you for writing.

    You can add the pages on the bottom of RadPageView by using the Insert method of the Pages collection and inserting the new page at position 0:
    radPageView1.Pages.Insert(0,page);

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
     
    Regards,
    Stefan
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andreas Nebel
    Andreas Nebel avatar
    16 posts
    Member since:
    Jan 2010

    Posted 27 Jul 2011 Link to this post

    Fantastic! Thank you.

    Can you help me with my other question, too?
  5. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 01 Aug 2011 Link to this post

    Hello Andreas,

    Thank you for writing back.

    You can change the position of the newly added controls, by setting their Location property to the desired point.

    I hope this helps. Let me know if you have any other questions.
     
    All the best,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top