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

[Solved] EditTemplates on RadGrid and Error on Insert...

1 Answer 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Giorgos
Top achievements
Rank 1
Giorgos asked on 17 Aug 2009, 08:52 PM
Hi, I use entity datasource with the radgrid, i include my navigation for Table2.Id, watched the Edit Templates Video and seems
all to working fine when i edit a record, but when i try to insert a record i get the following error:

Error: Sys.WebForms.PageRequestManagerServerErrorException: DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'Table2'.

I know there is not a property with this name, i checked everything and looks ok..how come the edit,delete,cancel all working fine?
I sense there is something on entity datasource or about a RadTextBox that Binds to the navigation property, but cannot figure what.

Any help?


1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Aug 2009, 05:26 AM
Hi,

This error can occur when your grid instance can not bind a value for the newly inserted item through the Eval()/Bind() syntax you hard-coded. Check out the following help document which explains on a very similar error and its solution. Probably this should help you resolve the error that you get:
Known reasons for error messages

Thanks
Princy.
Tags
Grid
Asked by
Giorgos
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or