How to force a docked pane to collapse?

12 posts, 0 answers
  1. Michael
    Michael avatar
    15 posts
    Member since:
    Jul 2011

    Posted 14 Sep 2011 Link to this post

    I have a pane that's docked and unpinned.  If it's visible (expanded), how can I force it to collapse (as if the user had clicked their mouse in another window or changed the focus).  Setting dock's ActivePane property to null seems to have no effect.

    The reason for this is because a modal RadWindow (or Alert) is shown beneath the expanded pane.  I need a workaround for this bug.

    We're using version 2011.2.712.1040

    Thanks

     
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 19 Sep 2011 Link to this post

    Hi Michael,

    We've tested the described scenario and setting ActivePane works at our side. Also you could try setting IsHidden property of the unpinned pane.

    Best wishes,
    Yana
    the Telerik team

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

  3. DevCraft banner
  4. Michael
    Michael avatar
    15 posts
    Member since:
    Jul 2011

    Posted 20 Sep 2011 Link to this post

    Won't 'IsHidden' make the unpinned window completely disappear?  We still want the window to be available when the modal dialog is closed.

    In your test, make sure you don't select the unpinned window (by clicking on its titlebar for example).  If you select it with the mouse, the problem doesn't occur.  We make the unpinned window appear in code when it's required:

    view.DockingPanel.ActivePane = pane;
    pane.IsSelected = true;

    Next, do a ShowDialog on a new rad window

    I see this behavior (attached)

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 22 Sep 2011 Link to this post

    Hello Michael,

    You're right about IsHidden property - I'm sorry for my confusion.

    Actually this issue is already fixed in the Q2 SP release, could you please download it and give it a try?

    All the best,
    Yana
    the Telerik team

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

  6. Muhammad Jamil Nawaz
    Muhammad Jamil  Nawaz avatar
    10 posts
    Member since:
    Sep 2005

    Posted 28 Oct 2011 Link to this post

    Hello Yana,

    I am also facing same problem. I read this thread and upgraded to latest version but I am getting same behaviour. When I do Pane.IsHidden = true, it completely disappear from pane group. I also do RadDocking.ActivePane = null but no effect.

    I posted question to telerik but there I ask in different way. But in actual, I got the same behaviour as described here in this thread.
    http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=478050




    Regards,
    JAMIL
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 02 Nov 2011 Link to this post

    Hello Jamil,

    We've answered already to the support ticket.  I suggest to continue the communication there.

    Best wishes,
    Yana
    the Telerik team

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

  8. Thomas Mutzl
    Thomas Mutzl avatar
    39 posts
    Member since:
    Oct 2006

    Posted 08 Mar 2012 Link to this post

    Same problem here.

    (Posting the answer here in the forum and not only in the support ticket might help others too...)
  9. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Mar 2012 Link to this post

    Hi Thomas,

    This was a specific case, that's why we didn't post it in the forums.
    Please send us more details about your scenario and/or some sample code, so we to be able to reproduce the issue. Thanks

    Kind regards,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  10. Markus Hopfenspirger
    Markus Hopfenspirger avatar
    21 posts
    Member since:
    Oct 2009

    Posted 13 Nov 2013 Link to this post

    I had the same Problem... When I put a Button on the unpinned Pane and open a File Save Dialog from this button, the System Dialog and all ist Message Boxes appear below the RadPane... which is not the best.

    My solution is:

    if (_pane.IsPinned == false) {

     _pane.IsHidden = true;

     _pane.IsHidden = false;

    }

    Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() => Foo(...)));

    Nice greetings,
    Markus

  11. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 19 Nov 2013 Link to this post

    Hello Markus,

    I have tried to reproduce this issue in a simple project, but without much success, you can find the test project I've used attached to this thread. Could you please download it and give it a try? What is different in your case? Can you modify it and send it back to us? Note that you should open a support ticket and attach it there.

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  12. Markus Hopfenspirger
    Markus Hopfenspirger avatar
    21 posts
    Member since:
    Oct 2009

    Posted 19 Nov 2013 Link to this post

    Hello Yana,

    Sorry for the confusion, but my Project is a WPF project... (See Support Ticket...)

    Here you can make one of the panes containing the Button "Press me" Floating and then press the Button. The File Open Dialog opens below the Floating Pane...

    Kind regards,
    Markus

  13. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 Nov 2013 Link to this post

    Hello Markus,

    Thank you for sending the additional details, we will check the ticket.

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner