Hello All,
I have a ordinary RadGrid which has Sorting option set.
Columns in the RadGrid are named like this: Class1.Class2.Property1
because I use classes inside another ones in my Collections.
Everything works perfectly expect sorting.
When I set GridSortExpression in codebehind or in aspx page, setting fails if
field's name have a point character (.)
Code below fails:
GridSortExpression expression = new GridSortExpression();
expression.FieldName = "Class1.Class2.Property1"; // This fails!
expression.SetSortOrder( ... );
....
Is there another kind of naming syntax for SortColumns or how should I get it working?
This is little bit odd because RadGrid data can be show, edit etc although names have point
characters (nested classes).
Br,
Michael
I have a ordinary RadGrid which has Sorting option set.
Columns in the RadGrid are named like this: Class1.Class2.Property1
because I use classes inside another ones in my Collections.
Everything works perfectly expect sorting.
When I set GridSortExpression in codebehind or in aspx page, setting fails if
field's name have a point character (.)
Code below fails:
GridSortExpression expression = new GridSortExpression();
expression.FieldName = "Class1.Class2.Property1"; // This fails!
expression.SetSortOrder( ... );
....
Is there another kind of naming syntax for SortColumns or how should I get it working?
This is little bit odd because RadGrid data can be show, edit etc although names have point
characters (nested classes).
Br,
Michael