Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Gridview - wrong record displayed when editing

Reply
Thread Tools

Gridview - wrong record displayed when editing

 
 
gr8beer
Guest
Posts: n/a
 
      09-14-2006
If a new record is added into the database that is ordered above/before the
row being edited, when the page reloads after rebinding the wrong record is
placed in edit mode because the gridview useds the index of the row to
"remember" the row that was clicked for editing. How can I either cancel the
default behaviour of rebinding the data when edit is clicked, or force the
gridview to place the correct record in edit mode?
--
gr8beer
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Question - Looking to view a record not displayed by Grid or DataView daveydave999 ASP .Net 0 10-05-2007 03:02 PM
Basic Question - Looking to view a record not displayed by Grid or DataView daveydave999 ASP .Net 0 10-05-2007 02:49 PM
Japanese Text not displayed on Image Generated by Servlet on winXP, Linux but displayed on Win2000 boney Java 1 12-15-2006 02:24 PM
GridView & DetailsView - Wrong Record Being Sent Over jeffmagill@gmail.com ASP .Net 0 05-10-2006 09:50 PM
Single row of data displayed horizontally next to label names with paging per record... possible? Jason Caid ASP .Net Datagrid Control 0 09-07-2005 12:03 AM



Advertisments