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

[Solved] Key not getting primed correctly

0 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
skyhikeeper
Top achievements
Rank 1
skyhikeeper asked on 26 Nov 2011, 12:20 AM
I have a MVC grid and when I load the full grid with the select and I then use the edit on a record the key which has ScaffoldColumn set to false as this is a auto number column but my primary key. as said before when i load the grid using the select the column is primed but after a update or a delete the column always seem to be 0 causing the lookup to not work correctly. Can anyone assist why this behaviour exists ?

Tags
General Discussions
Asked by
skyhikeeper
Top achievements
Rank 1
Share this question
or