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

radGrid adds extra columns

3 Answers 70 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Elad
Top achievements
Rank 1
Elad asked on 30 Jun 2009, 10:04 AM
Hello,
I am trying to use radGrid inside a SharePoint web part to bind to a list.
I am using SPDataSource to connect to the list, and I set the grid's DataSourceID.
Everything works fine but for tow extra columns that are being added to the grid by themselves.
The columns are "UseInternalName" and "IncludeHidden" which are 2 public properties of the SPDataSource control, but have nothing to do with the list.
Needless to say I am explicitly setting AutoGenerateCullomns to False, and I manually add my columns.
What's more interesting, is that if I bind to ASP's GridView using the exact same syntax, I got expected behavior, without the 2 extra columns.

Any suggestions?

Thanks,
Elad.

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Jul 2009, 10:42 AM
Hello Elad,

Could you please provide more information about this case. It will be really helpful if you can post the WebPart code and the data source structure. Thus we will try to replicate the problem locally and advice you further.

Regards,
Georgi Krustev
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
Elad
Top achievements
Rank 1
answered on 05 Jul 2009, 12:51 PM
We have managed to resolve the issue. It was a problem with our code.
Thanks anyway
0
Mario
Top achievements
Rank 1
answered on 30 Aug 2009, 08:09 PM
Hello Elad or Georgi,

Could you fill us in how you altered the code to get rid of the 2 extra columns.
We are experiencing the same issue.

Kind regards,
Mario
Tags
Sharepoint Integration
Asked by
Elad
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Elad
Top achievements
Rank 1
Mario
Top achievements
Rank 1
Share this question
or