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

Silverlight RadGridView distortion bug.

3 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ashutosh
Top achievements
Rank 1
Ashutosh asked on 22 Jun 2016, 08:33 AM

I have a RadGridVIew control which renders row and column at runtime based on settings of row type. We have two types of row Fat and Thin based on which columns are populated dynamically. Fat row contains multi row column where as thin row displays single row columns.

The issue is when user is switches from fat to thin row radgrid gets distorted and shows some garbage value at the start of each row. If we click on garbage data it disappear and grid looks clean.

Please see attached screen-shot.

 

 

3 Answers, 1 is accepted

Sort by
0
Ashutosh
Top achievements
Rank 1
answered on 22 Jun 2016, 08:51 AM

I have used ui virtualization with following properties 

EnableRowVirtualization="True"

EnableColumnVirtualization="True"

VirtualizingStackPanel.VirtualizationMode="Recycling"

0
Ashutosh
Top achievements
Rank 1
answered on 22 Jun 2016, 08:52 AM

EDIT:

UI virtualization is turned on with following properties 

EnableRowVirtualization="True" EnableColumnVirtualization="True" VirtualizingStackPanel.VirtualizationMode="Recycling"

0
Stefan Nenchev
Telerik team
answered on 24 Jun 2016, 10:45 AM
Hello Ashutosh,

Can you please provide more details on the setup at your end so I can try to replicate the issue and advise you more appropriately? What is the approach that you are using for modifying the rows at runtime? Generally, we strongly recommend  to not work with the visual elements(such as rows or cells) directly as this causes inconsistent behavior - as in your case - due to the UI Virtualization.  Actually, isolating the issue in a sample project and providing us with it would be the best case scenario so I can familiarize with the details and update you more specifically.

Regards,
Stefan Nenchev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Ashutosh
Top achievements
Rank 1
Answers by
Ashutosh
Top achievements
Rank 1
Stefan Nenchev
Telerik team
Share this question
or