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

Issue with show hide Radtreelistview columns at runtime

2 Answers 76 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
preeti
Top achievements
Rank 1
preeti asked on 14 Feb 2011, 10:01 AM
Hi,
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 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 17 Feb 2011, 11:48 AM
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.
 
Regards,
Yordanka
the Telerik team
0
preeti
Top achievements
Rank 1
answered on 17 Feb 2011, 11:52 AM
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)
  
tempCollection.Add(col);
  
//Clear all the columns from the grid
  
treeListUserView.Columns.Clear();
  
//Then add the columns back to the grid
  
foreach (var col in tempCollection)
  
treeListUserView.Columns.Add(col);
Tags
TreeListView
Asked by
preeti
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
preeti
Top achievements
Rank 1
Share this question
or