Radwindow event not firing from a Docking

2 posts, 0 answers
  1. Abner
    Abner avatar
    10 posts
    Member since:
    Apr 2014

    Posted 01 Dec 2014 Link to this post


    I have the below situation:

    One Radwindow that constains inside it a raddocking with two RadPaneGroup inside each one another radwindow.

                  <telerik:RadPaneGroup Name="PaneGroup1">
                              // I have here a usercontrol that is a RadWindow, which loads when i open the main usercontrol
                              <telerik:RadWindow Name="Chart">
                   <telerik:RadPaneGroup Name="PaneGroup2">
                              // 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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

  2. Nasko
    Nasko avatar
    692 posts

    Posted 02 Dec 2014 Link to this post

    Hello Abner,

    The described behavior of RadWindow could be an expected one as defining RadWindow directly in XAML is not supported and not recommended approach. Please, check the following article from our help documentation that demonstrates how to use RadWindow as UserControl and how to initialize it:

    Also, could you please provide us more detailed information about your scenario, so we could suggest you another approach to achieve the desired.

    We are looking forward to hearing from you.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top