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

RadGridView AutoGenerateColumns Problem

2 Answers 199 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bosko Maksimovic
Top achievements
Rank 1
Bosko Maksimovic asked on 22 Sep 2008, 07:22 PM
What I'm trying to do is AutoGenerateColumns at the end of the predetermined columns of the radgrid.  It works fine the first time the form loads, but if i change the dataset to bring back an extra column of AutoGenerated data the grid doesn't show any of the AutoGeneratedColumns anymore.  However if I remove an AutoGenerated column of data from the dataset the grid will still display the correct AutoGenerated columns of data. 

I have tried setting the radGrid.DataSource to null as well as the MasterTemplate.DataSource, before I rebind the grid with the new fields for the AutoGeneratedColumns, but that doesn't seem to work either...

2 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 24 Sep 2008, 07:37 AM
Hi Bosko,

Unfortunately, the information you have supplied is not sufficient to reproduce the problem. Could you please send us a simple project to review your code and debug it locally? I have moved your Forum post to the support ticketing system to allow attachments.

Thank you in advance.

Sincerely yours,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Vassil Petev
Telerik team
answered on 24 Sep 2008, 07:38 AM
Hi Bosko,

Unfortunately, the information you have supplied is not sufficient to reproduce the problem. Could you please send us a simple project to review your code and debug it locally? I have moved your Forum post to the support ticketing system to allow attachments.

Thank you in advance.

Sincerely yours,
Vassil
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Bosko Maksimovic
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Vassil Petev
Telerik team
Share this question
or