Custom treeview showing progress bar on the side of the nodes
Posted on 2009-05-12
I have a treeview which goes 4 levels deep.
Subtasks is the granulat level of project and personnel is the one who is working on subtask.
Each Project can have multiple subprojects and each subproject multiple tasks and each task multiple subtasks.
Want I want to do now is put a progress bar beside Project, Subproject, Task and Subtask alligned right next to them. I am calculating a progress value for each project subproject task and subtask based on their assigned hours and the hours they are worked by personnel on them.
For progress bat i was using two textboxes . If the percentage of the value i calculated i less than 100 i am filling the first textbox with lime till that percentage of the textbox width. If its over 100% i am filling the first textbox completely with lime and the second textbox whatever the percentage over 100 by red.
Now i want to display this all thing as a treeview and the progressbar right next to the node of each level. All the treeview nodes and the progressbar values are dynamic and this is a web application.
The application is developed in vb.net 3.5 framework.
Could you please tell me the easiest and nice looking way to do this.
I appreceate you guys help.