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

Edit opens wrong item in Grid View

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 10 Nov 2010, 02:41 PM
We are utilizing the GridView in management tool for user feedback.  We are encountering issues when one of our users clicks the "edit" button on the GridView after the underlying data has changed (a user submitted a new feedback).  When this occurs the wrong item editor will open and our users will at time mistakenly edit the wrong item as a result.  How can we prevent this from occurring? We have set the DataKeyNames value to the primary key of our data sources, I would assume this would have been sufficient to prevent this problem.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 12 Nov 2010, 12:01 PM
Hi Andrew,

The described issue is very strange. We have not encountered it so far and we are not sure what could be the reason for experiencing the problem. Could you please send us a simple runnable example or post the aspx page with the related code behind. You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to gather more details about your scenario and provide you with more to-the-point answer.

Best wishes,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or