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

RadWindow & ShowDialog()

1 Answer 145 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gaurav
Top achievements
Rank 1
Gaurav asked on 18 Nov 2008, 10:38 AM
I just discovered something interesting today while working with RadWindow. I needed to show something as Modal Dialog so I used ShowDialog() function to show the Window. However it is not really a modal window in the sense that I can use the "TAB" key to navigate to the form elements on the page below. I can type in the text boxes, click on buttons (by putting focus on the button and then pressing the spacebar). What I can not do is click the mouse on the parent page ... mouse click has no effect.

Am I doing something incorrect? Here is the XAML Code & The code behind ...

        <telerik:RadWindow Width="428" Height="337" BorderThickness="0" Padding="0,0,0,0" BorderBrush="Crimson" BorderBackground="#4C101480"  x:Name="DatabaseConnectionWindow" Icon="{x:Null}"  Header="Connect to database..." ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
            <mssqlui:DatabaseConnection x:Name="databaseConnectionPanel" Canvas.Left="0" Canvas.Top="0" Background="Blue" Width="Auto" Height="Auto" Padding="0,0,0,0" Margin="-10,-10,-10,-10"></mssqlui:DatabaseConnection>
        </telerik:RadWindow>
=======================================================================================================
        private void btnTest_Click(object sender, RoutedEventArgs e)
        {
            DatabaseConnectionWindow.ShowDialog();

=======================================================================================================

Thanks

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 19 Nov 2008, 09:11 AM
Hello Gaurav,

We just have released a new version of the controls. Are you using the latest version? Please download it and tell us if you are still experiencing this issue. Thank you for your feedback.

Kind regards,
Hristo Borisov
the Telerik team

Check out
Tags
Window
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Share this question
or