In the latest version the class GridViewLengthConverter is not working correct
and disallowes correct displaying of column widths. My focus is on Star(*) columns.
some code snippets from current version:
private static string[] strings = new string[]
{ "sizetocells", "px", "sizetoheader", "*", "auto" };public enum GridViewLengthUnitType
{ Auto, Pixel, SizeToCells, SizeToHeader, Star }The enum and string array MUST match otherwise the parser returns wrong enum value.
And just try this:<
UserControl
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:d
=
"http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc
=
"http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable
=
"d"
x:Class
=
"SilverlightApplication6.MainPage"
Width
=
"640"
Height
=
"480"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadGridView
RowIndicatorVisibility
=
"Collapsed"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Width
=
".25*"
Header
=
"25% Col"
/>
<
telerik:GridViewDataColumn
Width
=
".75*"
Header
=
"75% Col"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
UserControl
>
The grid example does not render correctly. I think you have totally 2 problems.
I need fixed version soon as possible. The versions before have another bugs,
still with rendering errors on header cells.