Hello,
I want to use a RadWindow as a user control inside another RadWindow, like as below.
Now when I click on the button "btnClickMe" it throws an exception "Object reference not set to an instance of object".
Please let me know the reason of the exception and how can it be resolved.
I want to use a RadWindow as a user control inside another RadWindow, like as below.
<
telerik:RadWindow x:Class="MacFellow.WPF.ParentRadWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
d:DesignHeight="300" d:DesignWidth="521">
<Grid>
<telerik:RadWindow Top="10" Left="10" Height="200" Width="300" Visibility="Visible">
<Button x:Name="btnClickMe" Content="Click Me" Width="100"/>
</telerik:RadWindow>
</Grid>
</
telerik:RadWindow>
Now when I click on the button "btnClickMe" it throws an exception "Object reference not set to an instance of object".
Please let me know the reason of the exception and how can it be resolved.