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

GridHeaderCellElement TextOrientation

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Robbie
Top achievements
Rank 1
Robbie asked on 22 Jul 2008, 08:38 PM
I'm trying to set the TextOrientation of a GridHeaderCellElement. When I set it to Vertical via the "Edit UI Elements" options. The code throws a ArgumentOutOfRangeException because the following code created by the "Element hierarchy editor" is placed in the InitializeComponent method:

((Telerik.WinControls.UI.GridHeaderCellElement)(this.radGridView1.GetChildAt(0).GetChildAt(1).GetChildAt(0).GetChildAt(2))).TextOrientation = System.Windows.Forms.Orientation.Vertical;

when I move it to immediately after the InitializeComponent method, nothing happens.
However setting the TextOrientation to Vertical of a GridGroupHeaderItem does work...

what am I missing?
tanx, greetings

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Vasilev
Telerik team
answered on 25 Jul 2008, 07:21 AM
Hi Robbie,

Thank you for writing.

Currently, RadGridView does not support changing the orientation of header cells text. We will consider adding this feature in one of our future releases.

If you have other questions do not hesitate to contact me again.


Greetings,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Robbie
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or