about tree view web control
-
Hi all, i want my data coming from a database table to be displayed in tree view web controls. I want to add the check box with the tree view in such a way that the text of the tree is displayed on first column of the ( html) table while the checboxes display on about one or two inch distance on the right of the text ( may be in third column of the html table) ....... These check boxes must be bound with the relevant entry in the tree view..... can some body help me in this regard....
-
Hi all, i want my data coming from a database table to be displayed in tree view web controls. I want to add the check box with the tree view in such a way that the text of the tree is displayed on first column of the ( html) table while the checboxes display on about one or two inch distance on the right of the text ( may be in third column of the html table) ....... These check boxes must be bound with the relevant entry in the tree view..... can some body help me in this regard....
If you want to change the display of the treeview control based on your requirement, I think you will have to open and modify the treeview.htc file that should appear in the webctrl_client/1_0 folder. This file is an HTML file that contains script and a set of HTC-specific elements that define the treeview component. You first need to investigate how the treeview is built, then you can modify it to meet your demand. For more information on HTC, see HTC Reference [^]
-
If you want to change the display of the treeview control based on your requirement, I think you will have to open and modify the treeview.htc file that should appear in the webctrl_client/1_0 folder. This file is an HTML file that contains script and a set of HTC-specific elements that define the treeview component. You first need to investigate how the treeview is built, then you can modify it to meet your demand. For more information on HTC, see HTC Reference [^]
-
Is there not some easy way????? Above solution will be very much time taking..... I will prefer if there is some easy way there........
Sadly, no... there really isn't an easy way. The Microsoft Tree View web control isn't the most developer friendly beast, and provides only basic functionality. If you're uncomfortable/unwilling to modify the HTC, you may wish to look into purchasing a third party control that has a better interface and more features. A google search will provide you with plenty of options. Hope that helps a bit. :) --Jesse
-
Sadly, no... there really isn't an easy way. The Microsoft Tree View web control isn't the most developer friendly beast, and provides only basic functionality. If you're uncomfortable/unwilling to modify the HTC, you may wish to look into purchasing a third party control that has a better interface and more features. A google search will provide you with plenty of options. Hope that helps a bit. :) --Jesse
-
Hi there, If you are uncomfortable with the HTC stuff, and not planning to purchase a third-party component, you can think of re-designing the UI in the way that you can apply the control without changing its default behavior. That's might be easier for you, and you can also save your time to do other things.