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

[Solved] GridView custom header cell

2 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Zarko Vorkapic
Top achievements
Rank 1
Zarko Vorkapic asked on 21 Oct 2009, 01:13 PM
Hi,

I am working on a GridView that has a ComboBox and a few buttons in a column header (used for custom filtering). Everything works great, except, I've lost column reordering functionality. When I try to drag a column, I am getting an unhandled exception.

'An unhadled exception('Unhandled Error in Silverlight Application
Code: 4004
Catogry: ManagedRuntimeError
Message: System.ArgumentException: Value does not fall within the expected range.

Same thing happens when I try to reorder columns programmatically using ReorderColumns() method.

If you need more details about this issue, please ask, and I will provide code of my custom gridview header control.

Thank you in advance,
Zarko


2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 23 Oct 2009, 08:37 AM
Hi Zarko ,

It seems you have hit a known bug in RadGridView. We had a problem with the column headers in cases where a custom header is defined and any UIElement is placed inside. Any attempt to drag the header would result in exception. This was fixed and you can get the fix by downloading the latest internal build. It is available for download in your Client.Net account.

Please excuse us for the inconvenience caused.

In case you have any further troubles don't hesitate do drop me a line.

Regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Zarko Vorkapic
Top achievements
Rank 1
answered on 23 Oct 2009, 11:59 AM
Hi,

Thank you for your reply Pavel. Latest internal build solved this issue indeed.

Regards,
Zarko
Tags
GridView
Asked by
Zarko Vorkapic
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Zarko Vorkapic
Top achievements
Rank 1
Share this question
or