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

error - is neither a column nor a relation

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 08 Jun 2012, 05:48 PM
Hi,

my Rad Grid has two types of edit. One type of edit works fine. other type is select and display child records, and click on edit, I can the error - column name is neither a column nor relation. Exception is as follows.

There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource

Please help...

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 12 Jun 2012, 02:51 PM
Hi Suresh,

The observed error means that there is some issue with your DataFields or DataKeyFields binded to RadGrid. I could suggest you to thoroughly check your DataSources declaration.

In addition, you could refer to the following demo which demonstrates CRUD operations with Hierarchy:
Grid / Update/Insert/Delete in Hierarchy

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Suresh
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or