Close Button on Floating Window Disabled

4 posts, 0 answers
  1. Eric
    Eric avatar
    57 posts
    Member since:
    Aug 2012

    Posted 15 Jan 2014 Link to this post

    Found the issue: User settings was storing a layout with CanUserClose set to false

    The XAML below does everything we want except the close button on a floating window is always disabled. We manage the IsHidden property from the menu but users still complain that the close button on a floating window does not do anything. I need to either hide it or make it do what they expect, which is hide the pane, or pin it.


    <telerik:RadDocking x:Name="radAppointmentDocking" Grid.Row="0" Grid.Column="0">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup>
                            <telerik:RadPane x:Name="AppointmentsPane" Header="    Appointments    " 
                                             Title="Appointments" CanUserClose="True"
                                             telerik:RadDocking.SerializationTag="AppointmentsPane"
                                             telerik:RadDocking.FloatingSize="1200, 800">
                                <telerik:RadPane.Content>
                                    <ContentControl regions:RegionManager.RegionName="{x:Static inf:RegionNames.AppointmentsRegion}"> </ContentControl>
                                </telerik:RadPane.Content>
                            </telerik:RadPane>
                            <telerik:RadPane x:Name="WorkInProgressPane" Header="    Work In Progress    " 
                                             Title="Work In Progress" CanUserClose="True" 
                                             telerik:RadDocking.SerializationTag="WIPPane"
                                             telerik:RadDocking.FloatingSize="1200, 800">
                                <telerik:RadPane.Content>
                                    <ContentControl regions:RegionManager.RegionName="{x:Static inf:RegionNames.WorkInProgressRegion}"> </ContentControl>
                                </telerik:RadPane.Content>
                            </telerik:RadPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
            </telerik:RadDocking>
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 16 Jan 2014 Link to this post

    Hello Eric,

    I can see you have mentioned that you found the issue. If not or if you have any other questions and concerns don't hesitate to contact us.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yuk Hei
    Yuk Hei avatar
    5 posts
    Member since:
    Nov 2014

    Posted 04 Apr in reply to Kalin Link to this post

    Hi Telerik , 

    I have a similar problem. When the layout is restored, the close button is dimmed, after that, when i open a new floating window, the close button is back to normal. Is it a bug or can you suggest how to make the close button available. Thanks

     

    Regards,

    KYH

  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 06 Apr Link to this post

    Hi,

    We are not aware of such an issue of RadDocking for WPF. If it is possible can you please open up a support ticket and provide us with a sample project reproducing the explained behavior? This way we will be able to check it on our side and provide you with a solution.

    If you have any other questions, please let us know.

    Regards,
    Kalin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top