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

[Solved] Batch editing in Grid with Dynamic Model

0 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaurav
Top achievements
Rank 1
Gaurav asked on 14 Jan 2013, 04:43 AM
Hi,

I am really stuck at implementing a very weird requirement. I need to implement a grid with a dynamic model with editing, inserting and deleting required. That's not all, it should be a batch editing.

I have tried implementing that using 2 approaches i.e. DataTable and ExpandoObject. But both are giving the same error to me whenever I am turning on the editing. Error is "Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions.", which I am not able to resolve.

It will be really great if someone can help me fix the issue immediately. Any other working approach will also do. Attaching the source code along this.

Thanks.
Tags
Grid
Asked by
Gaurav
Top achievements
Rank 1
Share this question
or