This is a migrated thread and some comments may be shown as answers.

[Solved] did not resizing container ContentControl in radwindow.

6 Answers 192 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jerome
Top achievements
Rank 1
jerome asked on 25 Nov 2010, 04:41 AM
hi,

if has ContentControl in radWindow,then can not adjust resizing.
code below:

<telerikControl:RadWindow  ....
>
 
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ContentControl x:Name="ContentControl">
        </ContentControl>
       <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</telerikControl:RadWindow>

ContentControl  is UserControl window below:

<UserControl..> //not set width and height
     <Grid x:Name="LayoutRoot" >
 
     </Grid>
</Usercontrol>

has better solution?
thanks

jerome


6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Nov 2010, 08:13 AM
Hi,

 I'm not sure how this is related to RadGridView. Can you clarify?

All the best,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
jerome
Top achievements
Rank 1
answered on 25 Nov 2010, 08:26 AM
oh, sorry,
the forum  thread was wrong in the category.
it shoud be  RadWindow.

that is  if radWindow  container ContentControl , then the radwindow did not resizing.






jerome
0
Morten
Top achievements
Rank 1
answered on 25 Nov 2010, 02:00 PM
Did you try to set the alignments on the ContentControl?

 <ContentControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
0
jerome
Top achievements
Rank 1
answered on 29 Nov 2010, 02:07 AM
yes,
No effect

<ContentControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

0
Pana
Telerik team
answered on 01 Dec 2010, 12:02 PM
Hello jerome,

Try to set and HorizontalContentAlignment and VerticalContentAlignment and if it is still not working please send us some more xaml so we can see how you have placed the charts inside.

Greetings,
Pana
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
jerome
Top achievements
Rank 1
answered on 03 Dec 2010, 09:26 AM
you are right
thanks very much.
Tags
GridView
Asked by
jerome
Top achievements
Rank 1
Answers by
Vlad
Telerik team
jerome
Top achievements
Rank 1
Morten
Top achievements
Rank 1
Pana
Telerik team
Share this question
or