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
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