Forum  General Visual ...  Announce It! ( ...  What about the idea of a Treeview with "TreeViewPanelItem"
Previous Previous
 
Next Next
New Post 3/2/2011 11:07 PM
  lmp014
84 posts
No Ranking


What about the idea of a Treeview with "TreeViewPanelItem"  

Hi,

What do you think about the same kind of possibiliy applied to the TreeView. I don't mean adding whatever control, but rather a panel.

What I mean is the possibility to add a "TreeViewPaneltem" similar to what is done with the ListviewPanelItem.

So we could have a treeview where we add nodes as usual, by clicking on a treeview node, it could show a Panel containing whatever controls.

For me I think it could be very helpful, and shouldn't require too much development coding.

 
New Post 3/5/2011 6:16 AM
  palli
11824 posts
1st Level Poster




Re: What about the idea of a Treeview with "TreeViewPanelItem"  

Hi Imp014,

Your idea is good, but I'm not so sure if it fits within the standard TreeView out-of-the box control.

First thoughts, your idea is almost trivial for you to code though, by creating a UserControl with a TreeView and a Panel area. You could store your Panels in the Tag property of each node, and then you would register to the change events of the TreeView, showing the Panel from the currently selected node of the TreeView in the panel area of your UserControl.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/21/2011 2:51 PM
  lmp014
84 posts
No Ranking


Re: What about the idea of a Treeview with "TreeViewPanelItem"  

Hi Palli,

I'm surprised you say it's a good idea but also "I'm not so sure if it fits within the standard TreeView out-of-the box control", you probably mean belonging to the Pro version. Don't understand the reason.

I'll give a trial to your proposed solution.

 

Thanks.

 
New Post 3/21/2011 5:32 PM
  palli
11824 posts
1st Level Poster




Re: What about the idea of a Treeview with "TreeViewPanelItem"  

Hi Imp014,

My reasoning is very simple. Your idea can be very practical in some cases, I can very well imagine scenarios where I might consider using it, and in that sense it's a good idea.

On the other hand, for a standard out-of-the-box TreeView control, where we are mostly following Windows Forms API and "standards", there must be a very good reason and probably quite a few users in need of that extension and requesting it, for it to be implemented into the out-of-the-box TreeView control. That's where I'm not so sure it fits at this time, as you are the first one asking.

Hope this explains and good luck with your tests.

Feel free to ask if you need help with it,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/23/2011 2:31 AM
  lmp014
84 posts
No Ranking


Re: What about the idea of a Treeview with "TreeViewPanelItem"  

Hi Palli,

Now I better understand, thanks for the clarification.

Let my sell the idea to other users and explain more :

My toughts were more to have the same kind of features like what has been done with the Listview. Having the possibility to add a panel in the tree instead of the classical Treenode.

So imagine expanding the tree would keep a hierarchical display(which is the treeview function), but the tree could be composed of any Treenode or control or usercontrol(contained in the panel) pertaining to the tree level at which you are working. You even could change the subtree displayed items based on what the user does inside the TreePanel without resorting to another control on the form (today a treenode only allows expand/collaps,click/rightclick and drag actions).

The UI would then be like what has been done for the listview in details view. For exemple, in the listview clicking on a button in the row inserts a panel underneath the row. Here expanding the node would display the next node level which could be a treeNode(s) or TreePanel(s) or a mix of both.

I can be wrong, but I presume it could be a wave maker like the panelitem implemented in the listview.

Yes, I aggree, it could also be a completely new control if you don't want to change the standards.

The fact that I'm the only one requesting it doesn't mean it's not a wanted feature, could also be that nobody thinked about it or realize what crazy things could be done in term of user interface. May be could be interesting to debat about it.

Thanks for the good support.

Regards.

 

 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Announce It! ( ...  What about the idea of a Treeview with "TreeViewPanelItem"
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS