Silverlight RadGridView distortion bug.

4 posts, 0 answers
  1. Ashutosh
    Ashutosh avatar
    4 posts
    Member since:
    Nov 2013

    Posted 22 Jun Link to this post

    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.

     

     

  2. Ashutosh
    Ashutosh avatar
    4 posts
    Member since:
    Nov 2013

    Posted 22 Jun in reply to Ashutosh Link to this post

    I have used ui virtualization with following properties 

    EnableRowVirtualization="True"

    EnableColumnVirtualization="True"

    VirtualizingStackPanel.VirtualizationMode="Recycling"

  3. DevCraft banner
  4. Ashutosh
    Ashutosh avatar
    4 posts
    Member since:
    Nov 2013

    Posted 22 Jun in reply to Ashutosh Link to this post

    EDIT:

    UI virtualization is turned on with following properties 

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

  5. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    281 posts

    Posted 24 Jun Link to this post

    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.
Back to Top