I am having an issue with the RadExpander's scrolling. I have set the RadEpander to grow to 300 pixels in Height when a user receives an error. But in some cases the error may be more than 300 pixels height. When the user scrolls to see the information in the RadExpander, the scrolling is choppy and is not smooth at all. Although you may see all of the data, it jumps down to the next line instead of scrolling smoothly. Is there any way to change this?
Thanks,
Strasz
<
telerik:RadExpander
HorizontalAlignment
=
"Center"
HorizontalContentAlignment
=
"Center"
VerticalAlignment
=
"Center"
VerticalContentAlignment
=
"Center"
Background
=
"#FFFFFF"
MinWidth
=
"925"
MaxWidth
=
"1600"
MaxHeight
=
"300"
x:Name
=
"ErrorExpander"
ExpandDirection
=
"Up"
IsExpanded
=
"True"
ScrollBar.Scroll
=
"ErrorExpander_Scroll"
>
<
telerik:RadExpander.Header
>
<
TextBlock
>Errors</
TextBlock
>
</
telerik:RadExpander.Header
>
<
telerik:RadExpander.Content
>
<
DataGrid
x:Name
=
"dgError"
Padding
=
"0,0,0,0"
CanUserAddRows
=
"False"
CanUserResizeColumns
=
"True"
CanUserReorderColumns
=
"False"
CanUserSortColumns
=
"False"
ItemsSource
=
"{Binding CCMSErrors}"
AutoGenerateColumns
=
"False"
FontFamily
=
"/CCMS.WPF.CommonControl;component/Fonts/#Segoe UI"
FontSize
=
"15"
RowBackground
=
"#FFFFFFFF"
AlternatingRowBackground
=
"#FFF3F3F3"
Background
=
"{DynamicResource GridGradientBkrd}"
GridLinesVisibility
=
"All"
Margin
=
"0,0,0,0"
MinHeight
=
"20"
ScrollBar.Scroll
=
"ErrorExpander_Scroll"
>
<
DataGrid.Columns
>
<
DataGridTemplateColumn
Header
=
"Time"
IsReadOnly
=
"True"
MinWidth
=
"100"
MaxWidth
=
"100"
>
<
DataGridTemplateColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Style
=
"{DynamicResource ErrorOutputText}"
Text
=
"{Binding TimeStamp, StringFormat=hh:mm tt}"
TextWrapping
=
"Wrap"
></
TextBlock
>
</
DataTemplate
>
</
DataGridTemplateColumn.CellTemplate
>
</
DataGridTemplateColumn
>
<
DataGridTemplateColumn
x:Name
=
"colMessage"
Header
=
"Message"
IsReadOnly
=
"True"
MinWidth
=
"150"
MaxWidth
=
"150"
>
<
DataGridTemplateColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Style
=
"{DynamicResource ErrorOutputText}"
Text
=
"{Binding Message}"
TextWrapping
=
"Wrap"
></
TextBlock
>
</
DataTemplate
>
</
DataGridTemplateColumn.CellTemplate
>
</
DataGridTemplateColumn
>
<
DataGridTemplateColumn
Header
=
"Suggestion"
IsReadOnly
=
"True"
MinWidth
=
"150"
MaxWidth
=
"150"
>
<
DataGridTemplateColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Style
=
"{DynamicResource ErrorOutputText}"
Text
=
"{Binding Suggestion}"
TextWrapping
=
"Wrap"
></
TextBlock
>
</
DataTemplate
>
</
DataGridTemplateColumn.CellTemplate
>
</
DataGridTemplateColumn
>
<
DataGridTemplateColumn
Header
=
"Details"
IsReadOnly
=
"True"
x:Name
=
"colDetail"
MinWidth
=
"250"
Width
=
"1200*"
MaxWidth
=
"1200"
>
<
DataGridTemplateColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Style
=
"{DynamicResource ErrorOutputText}"
Text
=
"{Binding Converter={StaticResource ExceptionToStringConverter}}"
TextWrapping
=
"Wrap"
></
TextBlock
>
</
DataTemplate
>
</
DataGridTemplateColumn.CellTemplate
>
</
DataGridTemplateColumn
>
</
DataGrid.Columns
>
</
DataGrid
>
</
telerik:RadExpander.Content
>
</
telerik:RadExpander
>
Strasz