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

[Solved] Column header not showing when CanUserFreezeColumns="False"

2 Answers 82 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.
D. Omar
Top achievements
Rank 1
D. Omar asked on 16 Jun 2009, 07:31 PM
I have a RadGridView that has no columns defined in XAML, AutoGenerateColumns="False" and in the grid's Loaded event I call a WCF service to get information about the columns that the gris must display. So in the WCF Service's 'Completed' handler I am adding one column to the grid, all hardcoded, not using the data from the service yet. If in the XAML I have CanUserFreezeColumns="False" the column header does not show up. If I take out the CanUserFreezeColumns attribute, the header does show up but completely off to the right, not aligned with the column itself. My grid also has a HierarchyChildTemplate and I expand the first row programmatically on the grid's DataLoaded event handler.

Has anyone seen this? Is it a bug?

Thanks in advance,

-OmarV   

2 Answers, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 18 Jun 2009, 12:11 PM
Hello D. Omar,

After a lot of debugging we have discovered an issue with the column headers offsets in combination with programmatically expanding a hierarchical grid row.

We have already started working on resolving this problem and the fix will be available for tomorrow's internal build (coming out each Friday). Once the internal build is ready, you will be able to download it from your account and upgrade your binaries. After you do that, please let us know if you are still experiencing this behavior.

I have updated your Telerik points for helping us identify this issue. I would like to thank you for that and apologize for the inconvenience we might have caused.

Greetings,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
D. Omar
Top achievements
Rank 1
answered on 18 Jun 2009, 02:30 PM
As I have said before: You guys rock! Thanks a lot!!
Tags
GridView
Asked by
D. Omar
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
D. Omar
Top achievements
Rank 1
Share this question
or