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

Floating RadPane after click on the button in custom RadPane header!!!

1 Answer 33 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 04 Jan 2012, 02:43 PM
Halo, we have a serious problem with RadDocking when we use custom header template.
If we use in DocumentHost custom template for header of RadPane and there is Button in the RadPane header, after click on this button docking operation is imediatelly started and the RadPane became floating :-(
There is sample code:
<Window x:Class="DarDataFormTest.MainWindow"
        xmlns:local="clr-namespace:DarDataFormTest"
        Title="MainWindow" Height="350" Width="525">
 
    <Window.Resources>
 
        <RoutedCommand x:Key="CommitCommand"/>
 
        <RoutedCommand x:Key="CancelCommand"/>
 
        <local:Converter x:Key="conv"/>
    </Window.Resources>
 
    <Grid>
        <telerik:RadDocking x:Name="radDocking1"  BorderThickness="0"  Padding="0">
 
            <!--DocumentHost-->
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                         
                        <telerik:RadDocumentPane Title="Description">
                            <telerik:RadDocumentPane.HeaderTemplate>
                                <DataTemplate>
                                    <StackPanel  Orientation="Horizontal">
                                        <TextBlock Text="aaaa" />
                                        <Button Margin="2">Butt</Button>
                                    </StackPanel>
                                </DataTemplate>
                            </telerik:RadDocumentPane.HeaderTemplate>
                            <telerik:RadDocumentPane.Content>
                                <TextBlock TextWrapping="Wrap"
                                           Text="test text" />
                            </telerik:RadDocumentPane.Content>
                        </telerik:RadDocumentPane>
                         
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
 
        </telerik:RadDocking>
 
    </Grid>
</Window>

After we click on the button "Butt", RadPane is folowing mouse cursor until first click. Please help....
Thank you.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 10 Jan 2012, 09:58 AM
Hi Tomas,

Thank you for reporting us this issue with the RadDocking control. We can confirm that the problem is on our side and we will fix it in our incoming internal builds. You can track and vote for the bug here - http://www.telerik.com/support/pits.aspx#/public/wpf/9260. I am glad to update your telerik points.


All the best,
George
the Telerik team

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

Tags
Docking
Asked by
Tomas
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or