Hi Rumen,
thank you for this information.
I face two problems - first the TreeView expects (for it's load function) an XML structure like this:
What I need is "content" like this:
I'm not sure if the treeview would accept such a thing.
The other problem is my solution itself.
When I look at sample provided it assumes a "flat" structure.
In my case I have a RadGrid with Master Detail. The master uses (in edit / insert mode) 3 RadEditors and the detail table 4 RadEditors.
Due to space recommendations some of those editors use ToolbarNode="floating". The editors itself move, the toolbars are dockable and so forth.
And last not least there are two different ToolFiles - which means two different sets of snippets.
If I look at the used scripts and html I guess this would end in pretty complex scripts, a set of scripts / div's for each editor instance, a lot of code behind to bind those trees when changing the grid modes (to / from edit, insert).
If it is buildable (I'm sure it is) this would blow by 300% or more.
The next problem I see is maintenance - what I my customer has a need "please change editor 3 to floating toolbars...."?
Or "pleas put the description left of the editor - not on top of it..".
The things don't become easier by the fact that I'm not talking about one page - there are >12 of them.
I simply guess it would be easier to have a popup (RadWindow) with some "Selection UI" (a number of listboxes, a hierarchical grid or comboboxes) which I can invoke via a button on the editors toolbar - and it simply returns the content I selected.
I'm just thinking about it - but I guess using the editor's showExternalDialog this is much easier - and it stays also maintainable.
I was just hoping there is a (overseen by me) way to group snippets like with hyperlinks or to have multiple snippets.
Anyhow thank you for your help
Manfred