Hi,
I'm currently evaluating the RadFluidContentControl for our application, but have run into two issues. Basically, I just want to switch between the states as soon as the LargeContent is too large for the rendered area. The documentation says this is done automatically ("Alternatively, the control will hide the large content (and show the normal content) as soon as the available size is not enough to properly render the large content."). In my example, this doesn't really work. The normal content is only displayed if the large content is halfway clipped (via resizing the window with the mouse). The second issue is that the content is stretched to the full height of the window, although I would expect to just limit it to its minimum size if I set the Height to "Auto".
Here's my code:
<
telerik:RadFluidContentControl
Height
=
"Auto"
>
<
telerik:RadFluidContentControl.Content
>
<
StackPanel
Orientation
=
"Vertical"
Background
=
"DeepSkyBlue"
>
<
Grid
Margin
=
"0,0,0,5"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
DatePicker
/>
<
TextBlock
Grid.Column
=
"1"
Margin
=
"9,0"
VerticalAlignment
=
"Center"
Text
=
"until"
/>
</
Grid
>
<
DatePicker
/>
</
StackPanel
>
</
telerik:RadFluidContentControl.Content
>
<
telerik:RadFluidContentControl.LargeContent
>
<
StackPanel
Margin
=
"0,0,0,2"
Orientation
=
"Horizontal"
Background
=
"GreenYellow"
>
<
DatePicker
Margin
=
"3"
/>
<
TextBlock
Margin
=
"3"
VerticalAlignment
=
"Center"
Text
=
"until"
/>
<
DatePicker
Margin
=
"3"
/>
</
StackPanel
>
</
telerik:RadFluidContentControl.LargeContent
>
</
telerik:RadFluidContentControl
>
What am I doing wrong?