row visibility do not work anymore

4 posts, 0 answers
  1. Adrian Pay
    Adrian Pay avatar
    28 posts
    Member since:
    Nov 2009

    Posted 26 Apr 2010 Link to this post

    before upgrading to SL4 april 22 build. we have an event handler for the RowLoaded of our RadGridView that do this.

    e.Row.Visibility = Collapsed

    this will hide the row completely.

    but in the new build - the row turns into WHITE.  it is hidden but the space that it consumed is still visible.
    any ideas?
  2. Yordanka
    Yordanka avatar
    634 posts

    Posted 27 Apr 2010 Link to this post

    Hi Adrian Pay,

    Could you give us more details about your scenario or send a sample project for reference?

    Best wishes,
    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.
  3. Jason Maronge
    Jason Maronge avatar
    321 posts
    Member since:
    Jan 2005

    Posted 16 Feb 2012 Link to this post

    I am having the same issue with the Q1 2012 SL5 release.  Not sure if it existed before or not, I just implemented this but when I set a row to visibility = collasped it just draws a white line instead of the cells. 

    I am setting it in the RowLoaded event.  You will see from the picture that the 2 record is missing and only showing the white space.

  4. Maya
    Maya avatar
    4062 posts

    Posted 17 Feb 2012 Link to this post

    Hello Adrian,

    This would be the expected behavior since you are working with the visibility of the row. It is definitely not recommended to work with visual elements and their properties of a virtualized control (such as RadGridView, RadTreeListView, etc). Please refer to our online documentation for a reference.
    I would recommend you in this case to work with the Items collection of the grid and remove/ add items there. Thus the corresponding row will be removed as well and no such black white spaces will be left. 

    Kind regards,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top