RadWindow & ShowDialog()

2 posts, 0 answers
  1. Gaurav
    Gaurav avatar
    8 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2008 Link to this post

    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

  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 19 Nov 2008 Link to this post

    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
Back to Top