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

[Solved] CurrentItem is always first row

3 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Happy
Top achievements
Rank 1
Happy asked on 26 Jul 2010, 08:02 PM
I just upgraded to Sliverlight 4 and your latest SDK. Now my app is broke. No matter what row a user single clicks or double clicks on in a grid view, the gridview's currentitem property is always set to the object in the first row.

Do I need to change something?

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 27 Jul 2010, 06:41 AM
Hello,

You can set IsSynchronizedWithCurrentItem to true to avoid this.

All the best,
Vanya Pavlova
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
0
codeputer
Top achievements
Rank 2
answered on 24 Feb 2011, 12:56 AM
Isn't this a breaking change from the previous version of the control? Was it documented as a breaking change?  Why did Telerik decide that it was a good thing (or must thing) to do?

Upgrading from one version to another on Telerik is starting to become a lesson in don't rely on anything you have done in the past.  Upgrade and re-visit all assumptions regarding your thrid-party controls.

Regardless if any of assumption are correct or not - I would appreciate a much more complete answer rather than the "just change this".... I would and do expect more from Telerik.  There are people out here that are making their living using these controls, if we can trust them, we can't use them.

Regards,
Richard
0
Milan
Telerik team
answered on 25 Feb 2011, 02:24 PM

Hello codputer,

This change was introduced with Q2 2010 as more and more customers were complaining that is it turned on by default. Another reason to do the change was that we wanted a better compatibility with the default WPF controls where this property is null by default. 

This change is mentioned in the release notes for Q2 2010 which can be found here

We are really sorry for the caused inconvenience.



Best wishes,
Milan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Happy
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
codeputer
Top achievements
Rank 2
Milan
Telerik team
Share this question
or