This question is locked. New answers and comments are not allowed.
Hi,
We have a very customised EditAppointmentTemplate with many other Telerik controls added bound to our own ViewModel.
However we have a positioning issue on open that we'd like to resolve.
It appears that whenever you add a RadTabControl on with many RadTabItems and a list of controls within each tab, the EditAppointmentTemplate dialog does not open in the center of the screen.
Does anyone know how to open it centered when it's a template?
Here's some example code that you could add to the bottom to test.
You'll see that it flashes off center then is not centered.
Thanks
We have a very customised EditAppointmentTemplate with many other Telerik controls added bound to our own ViewModel.
However we have a positioning issue on open that we'd like to resolve.
It appears that whenever you add a RadTabControl on with many RadTabItems and a list of controls within each tab, the EditAppointmentTemplate dialog does not open in the center of the screen.
Does anyone know how to open it centered when it's a template?
Here's some example code that you could add to the bottom to test.
<Grid Grid.Row="5"> <Grid.DataContext> <local:MyDialogViewModel /> </Grid.DataContext> <telerik:RadTabControl> <telerik:RadTabItem Header="Test 1"> <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <TextBox Text="{Binding MyTest}" Grid.Row="0" /> <TextBox Text="{Binding MyTest}" Grid.Row="1" /> <TextBox Text="{Binding MyTest}" Grid.Row="2" /> <TextBox Text="{Binding MyTest}" Grid.Row="3" /> <TextBox Text="{Binding MyTest}" Grid.Row="4" /> <TextBox Text="{Binding MyTest}" Grid.Row="5" /> <TextBox Text="{Binding MyTest}" Grid.Row="6" /> <TextBox Text="{Binding MyTest}" Grid.Row="7" /> <TextBox Text="{Binding MyTest}" Grid.Row="8" /> <TextBox Text="{Binding MyTest}" Grid.Row="9" /> <TextBox Text="{Binding MyTest}" Grid.Row="10" /> </Grid> </telerik:RadTabItem> <telerik:RadTabItem Header="Test 2"> <TextBox Text="{Binding MyTest}" /> </telerik:RadTabItem> <telerik:RadTabItem Header="Test 3"> <TextBox Text="{Binding MyTest}" /> </telerik:RadTabItem> <telerik:RadTabItem Header="Test 4"> <TextBox Text="{Binding MyTest}" /> </telerik:RadTabItem> <telerik:RadTabItem Header="Test 5"> <TextBox Text="{Binding MyTest}" /> </telerik:RadTabItem> </telerik:RadTabControl> </Grid>You'll see that it flashes off center then is not centered.
Thanks