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

Add new record doesn't save

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 24 Mar 2011, 09:09 PM
I've got an ASP.NET Master/Content page combination with a grid pointing to an EntityDataSource. (I'm using my simplest Entity, which just has a RoleId (PK) and Name.) The Entity set is currently empty, and when I use the "Add new record" button to add a record, I get the form showing up correctly. When I click "Insert" after assigning the RoleId and Name, the dialog goes away, but the item isn't added to my collection.

I've got all the "automatic" flags set for editing, inserting, and deleting in both the EntityDataSource and the Grid. What else do I need to set up to have the values saved to the entity collection?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 25 Mar 2011, 06:53 AM
Hi John,

plz send some part of your code so we can check and find problem/solution.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or