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

Child Nodes Not Resizing After Edit

2 Answers 27 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 28 Sep 2010, 03:37 PM
I have a Silverlight RadTreeView that I have customized with templates and edit templates.  In edit mode, the data entry requires more vertical space than just the standard display of an item.  The control switches perfectly between display and edit modes just fine.  However, the child nodes once they return to standard display keep the height of the edit mode and do not shrink down to just the content for the standard display.  This does not happen at the root level, but only on the child nodes.

I have tried multiple ways to manually override this.  First I tried explicitly working with the Height and MaxHeight properties, both with values and with infinite values in various cases.  This actually made things worse by having the height come out to very unexpected values and sliding under the item above.  I also tried to force invalidation and re-layout across all the various methods and not produced any different results.

What can anyone suggest I try next?  Does this require an update to the RadTreeView control itself?

Thank you.

2 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 01 Oct 2010, 04:28 PM
Hi Justin,

 Can you send us example project demonstrating the problem, including your custom templates, because we can't reproduce it in our environment?
Thank you for your cooperation.

All the best,
Miro Miroslavov
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
0
Justin
Top achievements
Rank 1
answered on 08 Oct 2010, 03:51 PM
The latest release resolves this issue. Thank you for the good work on resolving issues, even before I report them.
Tags
TreeView
Asked by
Justin
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Justin
Top achievements
Rank 1
Share this question
or