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

Share column between RadTreeListView and RadGridView

2 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ss
Top achievements
Rank 1
ss asked on 18 Mar 2011, 09:55 AM

Hello,

Is it possible to share one GridViewDataColumnInstance between instance of RadGridView and RadTreeListView? Look at the attached example please and try to push SWITCH button several times. There is no column within RadTreeListView.

http://cid-bf6ef922df39a27b.office.live.com/self.aspx/.Public/GridViewColumnCollectionTest.zip

Thank you. 

2 Answers, 1 is accepted

Sort by
0
ss
Top achievements
Rank 1
answered on 07 Apr 2011, 07:59 AM
I still cannot find solution. Can you please help me? Thank you.
0
Pavel Pavlov
Telerik team
answered on 07 Apr 2011, 02:50 PM
Hello ss,

It is not a good idea to use the same instance of a column in two different controls. The internal logic in the column depends on a reference to its parent and the results may be unpredictable.

Can you please share more details on the final goal you are trying to achieve with such approach . I am sure we can find a good alternative - maybe cloning the column ?

Regards,
Pavel Pavlov
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
Tags
GridView
Asked by
ss
Top achievements
Rank 1
Answers by
ss
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or