This is a migrated thread and some comments may be shown as answers.

Close Button on Floating Window Disabled

3 Answers 186 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 15 Jan 2014, 06:02 PM
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>

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 16 Jan 2014, 02:03 PM
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 >>
0
Ramon Chan
Top achievements
Rank 1
answered on 04 Apr 2016, 08:46 AM

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

0
Kalin
Telerik team
answered on 06 Apr 2016, 07:15 AM
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.
Tags
Docking
Asked by
Eric
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Ramon Chan
Top achievements
Rank 1
Share this question
or