Hi,
I have the below situation:
One Radwindow that constains inside it a raddocking with two RadPaneGroup inside each one another radwindow.
Example:
<telerik:RadWindow>
<telerik:RadDocking>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup Name="PaneGroup1">
<telerik:RadPane>
// I have here a usercontrol that is a RadWindow, which loads when i open the main usercontrol
<telerik:RadWindow Name="Chart">
</telerik:RadWindow>
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup Name="PaneGroup2">
<telerik:RadPane>
// This radwindow is another usercontrol added programatically as RadPaneAppHost.Content = UserControlAppHost with an closed event being subscribed UserControlAppHost.Closed += new EventHandler<WindowClosedEventArgs>(AppHost_Closed);
<telerik:RadWindow Name="UserControlAppHost">
</telerik:RadWindow>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</telerik:RadWindow> My problem is the closed event is not being fired when i click in a custom close button, if i dont added as Content, just open the radwindow separetelly the same event is fired in my main usercontrol, but since i added as content it doesnt fire the event, i tried to added inside a stackpanel then added the stackpanel as content the same happens, the event is never fired in my main usercontrol. Could you help me with that isssue? Thanks
I have the below situation:
One Radwindow that constains inside it a raddocking with two RadPaneGroup inside each one another radwindow.
Example:
<telerik:RadWindow>
<telerik:RadDocking>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup Name="PaneGroup1">
<telerik:RadPane>
// I have here a usercontrol that is a RadWindow, which loads when i open the main usercontrol
<telerik:RadWindow Name="Chart">
</telerik:RadWindow>
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup Name="PaneGroup2">
<telerik:RadPane>
// This radwindow is another usercontrol added programatically as RadPaneAppHost.Content = UserControlAppHost with an closed event being subscribed UserControlAppHost.Closed += new EventHandler<WindowClosedEventArgs>(AppHost_Closed);
<telerik:RadWindow Name="UserControlAppHost">
</telerik:RadWindow>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</telerik:RadWindow> My problem is the closed event is not being fired when i click in a custom close button, if i dont added as Content, just open the radwindow separetelly the same event is fired in my main usercontrol, but since i added as content it doesnt fire the event, i tried to added inside a stackpanel then added the stackpanel as content the same happens, the event is never fired in my main usercontrol. Could you help me with that isssue? Thanks