Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
TabGroupPane issue
posted
  • Open the  ContentPane,then close the ContentPane,Loaded event  and Unloaded  event  which are  in SilverlightControl1 will  be  executed twice. tell me why? this is the sample code.

 

  •  var xamDockManager = new XamDockManager();
  •  var   documentContentHost = new DocumentContentHost();          
  • var   tabGroupPane = new TabGroupPane();
  •  documentContentHost.Panes.Add(tabGroupPane);            
  •  xamDockManager.Content = documentContentHost;            
  •  xamDockManagerHost.Children.Add(xamDockManager); 
  •  var silverlightControl1= new SilverlightControl1();
  •  silverlightControl1.Loaded += new RoutedEventHandler(SilverlightControl1_Loaded);            
  • silverlightControl1.Unloaded += new RoutedEventHandler(SilverlightControl1_Unloaded);                        
  • var tabItem = new ContentPane                        
  • {                            
  • Header = activeItem.MenuName,                            
  • Tag = activeItem,                            
  • IsActivePane = true,                            
  • IsDocumentPane = true,                            
  • Content = silverlightControl1                        
  • };                        
  • tabGroupPane.Panes.Add(tabItem);
  •  
  • //when close ,it will be executed twice.
  • void SilverlightControl1_Unloaded(object sender, RoutedEventArgs e)         {         }
  • //when close,it will be executed twice.
  •  void SilverlightControl1_Loaded(object sender, RoutedEventArgs e)         {          }
Infragistics_SL.rar
Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Chen,

     

    We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.

    You can download the Service Releases by logging to our web site and going to Account \Keys & Downloads.

Children
No Data