or
RadPane rp = new RadPane();//rp.content = ......;//......;RadSplitContainer splitContainer = radDocking.DocumentHost as RadSplitContainer;RadPaneGroup paneGroup = (splitContainer.Items as IEnumerable<RadPaneGroup>).FirstOrDefault(s => s.IsInDocumentHost == true);//(get error)paneGroup.Items.Add(rp);pCarousel.BringDataItemIntoView(pCarousel.Items[0]);
to have the first page ont top. The 2nd page in my carousel sill white (empty) until I scroll the 2nd page ouside the carousel view and bring it back into th carousel view, at this time I can see the 2nd page content.
Thank's


<DataTemplate DataType="{x:Type local:SplitButtonVisualCommand}"> <telerik:RadSplitButton Command="{Binding Command}" CommandParameter="{Binding GetParameters}" Opacity="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource DisabledWorkAround}}" IsToggle="{Binding RelativeSource={RelativeSource Self}, Path = IsOpen}" DropDownContent="{Binding Childs}" DropDownContentTemplateSelector="{StaticResource VisualTempSelector}"> <telerik:RadSplitButton.Content> <StackPanel Orientation="Horizontal"> <Image Source="{Binding Image}" Margin="0 0 2 0"/> <TextBlock Text="{Binding Caption}" /> </StackPanel> </telerik:RadSplitButton.Content> </telerik:RadSplitButton> </DataTemplate><DataTemplate DataType="{x:Type VisualCommands:VisualCommandCollection}"> <telNav:RadContextMenu ClickToOpen="False" ItemsSource="{Binding}" ItemTemplateSelector="{StaticResource VisualTemplateSelector}"/> </DataTemplate><DataTemplate DataType="{x:Type local:ContextMenuVisualCommand}"> <telNav:RadMenuItem Header="{Binding Caption}" Icon="{Binding Image}" ItemsSource="{Binding Childs}" ItemTemplateSelector="{StaticResource VisualTemplateSelector}" Command="{Binding Command}" CommandParameter="{Binding GetParameters}" Opacity="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource DisabledWorkAround}}"> </telNav:RadMenuItem> </DataTemplate>ItemTemplateSelector.SelectTemplate
gets called Twice for each sub item in the SplitButton DropDownContent, this might explain the extra box inside the MenuItem.