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

UseAlternateRowStyle and MultipleSelect Not supported?

5 Answers 87 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Beckie
Top achievements
Rank 1
Beckie asked on 11 Mar 2010, 06:19 PM
What properties have replace UseAlternateRowStyle and MultipleSelect?

Q1 2010 is not supporting these and I see nothing in the release notes talking about this and I'm not seeing anything in the intellisense drop downs for a replacement.

5 Answers, 1 is accepted

Sort by
0
Elizabeth
Top achievements
Rank 1
answered on 11 Mar 2010, 08:33 PM
I submitted a support ticket asking the same thing. 

Instead of multipleselect I think you need to use SelectionMode.Multiple. 

We also used the ColumnsWidthMode in nearly all of our grids...it, too is no longer supported. 


0
Accepted
Vlad
Telerik team
answered on 12 Mar 2010, 08:03 AM
Hi,

These properties were marked as obsolete for Q3 2009 and removed for Q1 2010. Here is an example how to replace them:

ColumnsWidthMode="Fill" => ColumnWidth="*"
MultipleSelect => SelectionMode.Multiple
UseAlternateRowStyle => AlternationCount

You can check also Q3 2009 changes:
http://www.telerik.com/help/wpf/radgridview-changes-backward-compatibility.html
and Q1 2010 changes:
http://www.telerik.com/help/wpf/changes-backward-compatibility.html

Sincerely yours,
Vlad
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
Virendra
Top achievements
Rank 1
answered on 15 Mar 2010, 11:33 AM
Hi,
How can i replace "UseAlternateRowStyle" with "AlternationCount"?
If i had UseAlternateRowStyle ="True" what should be the equivelent value for "AlternationCount"?
thx
virendra
0
Rossen Hristov
Telerik team
answered on 15 Mar 2010, 11:38 AM
Hi Virendra,

Set AlternationCount to 2. This means that one row will be normal and one row will be alternate.
If you need to paint only the background of the alternate rows, you can use our new property called AlternateRowBackground. This will result in improved performance, since we will not be re-applying entire styles during vertical virtualization.

But, in case you need to change something else besides the background of the alternate rows, you should use the AlternateRowStyle property like before.

I hope this helps. Let us know if there are any problems.

Kind regards,
Ross
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
Beckie
Top achievements
Rank 1
answered on 20 Mar 2010, 12:11 AM
Thanks...all works great.  Extended is actually what we wanted for functionality on multiple select but thats okay all that counts is getting steered into the right direction and back into the fold of the latest release.  THANKS MUCH AGAIN.
Tags
GridView
Asked by
Beckie
Top achievements
Rank 1
Answers by
Elizabeth
Top achievements
Rank 1
Vlad
Telerik team
Virendra
Top achievements
Rank 1
Rossen Hristov
Telerik team
Beckie
Top achievements
Rank 1
Share this question
or