Issue with show hide Radtreelistview columns at runtime

3 posts, 0 answers
  1. preeti
    preeti avatar
    36 posts
    Member since:
    Oct 2010

    Posted 14 Feb 2011 Link to this post

    I am using 2010 Q3 vwesion. I have attached each radtreelistview column with a visiblity property and and runtime user can choose to update this property accordingly the collums visiblity property is updated. I am facing problem when user tries set the visiblity property from false to true. The columns get added sucessfully on the view but the column header becomes blank. however if i debug and check then each collumn header value is present. But it is not visible.
     Attaching the bitmap for your ref.i have added three columns at runtime which are added without column headers.
  2. Yordanka
    Yordanka avatar
    634 posts

    Posted 17 Feb 2011 Link to this post

    Hi preeti,

    Please, excuse us for the late reply.
    We have tried to reproduce the problem locally but unfortunately to no avail. We suppose there is something additional in your scenario that causes the problem. We may suggest to try our latest official build - version .1314 and our latest internal build - .version .1414 and see whether the problem can be seen with these versions. If so, could you try to reproduce it in a separate sample project and send it to us (via support ticket) ? Also, any additional details about your scenario will be plus. Thank you.
    the Telerik team
  3. preeti
    preeti avatar
    36 posts
    Member since:
    Oct 2010

    Posted 17 Feb 2011 Link to this post

    as of now i have done a work around. On everychange i am puttiong the columns in temp collection and clearing the tree columns and again assigning them.

    //First add the existing columns to a temp collection
    var tempCollection = new GridViewColumnCollection();
    foreach (var col in treeListUserView.Columns)
    //Clear all the columns from the grid
    //Then add the columns back to the grid
    foreach (var col in tempCollection)
Back to Top