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

How to change the CurrentRow after DataSource is changed?

2 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Thanh Son
Top achievements
Rank 1
Thanh Son asked on 11 Sep 2015, 02:59 AM

I have a problem with RadGridView on Winform C# that is couldn't change any properties of RadGridView such as IsCurrent, IsSelected, CurrentRow, ... It's not effect yet.

For example:

My grid isn't readonly, and I changed some values below:

this.myGridView.CurrentRow = this.myGridView.Rows[0];

... then the value of CurrentRow when I watch is still null.

this.myGridView.Rows[0].IsCurrent = true;

... then it's still show as false for that.

2 Answers, 1 is accepted

Sort by
0
Thanh Son
Top achievements
Rank 1
answered on 11 Sep 2015, 03:03 AM
I've tried with MasterView or MasterTemplate have the same result.
0
Dimitar
Telerik team
answered on 15 Sep 2015, 09:47 AM
Hello Thanh,

It appears that this is connected to your specific scenario and I have noticed that you have opened a support ticket as well. You can continue to discuss this case with the support staff there (where you can exchange projects) and once a resolution is reached, this forum thread can be updated.

Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Thanh Son
Top achievements
Rank 1
Answers by
Thanh Son
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or