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

Unlimited nesting of UI elements = What, exactly?

3 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pawz
Top achievements
Rank 1
Pawz asked on 10 Dec 2007, 06:24 AM
I've heard this term a couple of times (it's even on the feature list of the product page), but I'm not really sure what it actually means.

I know I seem to be able to drag controls into each other, but I'm not really sure how that is supposed to be useful - so far, it's more a matter of getting annoyed when I'm dragging controls around.

Is there actually a way to do something like, oh, add a button to the nodes in a treeview? Does anyone have a practical example of how they've used this, and how they've done it?

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 10 Dec 2007, 12:52 PM
Hi Pawz,

Nesting of UI elements is a nice feature if you want to have a control within another control. For example, you can nest our combobox within a RibbonBar chunk. Not all Winforms suites offer this type of functionality, this is why we have listed it as a feature.

The usability of this feature is not immediately noticable, but it is there in case you need it. Since you mentioned RadTreeView, it has properties which could be used in situations when you want to host items or controls in a tree node. I have attached a very simple project which demonstrates how to add a button to RadTreeNode.

Let me know if you have other questions.
 

Best wishes,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Pawz
Top achievements
Rank 1
answered on 18 Mar 2008, 10:39 PM
I've got another question - Is there a good / easy way to design a radItem? Like, for example, if I were to host something similar in function to a usercontrol, inside my treeview, with multiple labels & textboxes - how would I design the item? I can't seem to use a shaped form, so standard control layout seems to be out of the picture.

Take for example, in the sample there's the CollapsiblePane - I'm not sure how to build my own - it seems like each ui element is added in by hand (border, background, caption text, etc) Is that the way to do it, or might I be missing something?

0
Jordan
Telerik team
answered on 21 Mar 2008, 12:18 PM
Hi Pawz,

That is indeed a very interesting question.
We have such functionality on our TODO list. When implemented, it will allow for very easy creation of custom UI elements. Unfortunately this is a very complex functionality and requires a lot of work to implement it.
Currently the only way to compose custom UI elements is with code.

If you have any suggestions, they are most welcome.

Greetings,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Pawz
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Pawz
Top achievements
Rank 1
Jordan
Telerik team
Share this question
or