|
-
Dec 11th, 2008, 10:46 AM
#1
Thread Starter
Not NoteMe
[2005] Multiple people updating gridview
I have a gridview that displays invalid records.
On the same page i have the facility to edit these records, which makes them valid.
When they become valid the disappear from the view, and so disappear from the gridview.
The problem is introduced with these events:
User1 loads the gridview.
User2 loads the gridview.
User2 clicks 'edit' on the gridview
User1 makes a record valid and it's removed from the view. I rebind the datasource so their gridview now shows the record removed.
User2 makes the changes and clicks 'update'
It seems to create a duplicate record when the update happens, although i'm not 100% on that. What does happen though is that if they have something selected and inbetween postbacks a record is removed the selected record is no longer the same (since all records have moved up one).
How do people usually get round this issue??
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|