Z Zen Dec 9, 2003 #1 Is there a way to enable check box for leaf nodes only for the TreeView? Thanks!
J jaydubal Joined Jun 8, 2005 Messages 4 Reaction score 0 Jun 8, 2005 #3 Can be done! Zen said: Is there a way to enable check box for leaf nodes only for the TreeView? Thanks! Click to expand... Hi Zen, there is a work around for this .... 1. Use a image list and give two images (one) un-checked and (two) for checked 2. Then set the checked property false, ( we donot want to use this now) ... The leaf node will have selected index = 0 (of Image list) and = 1 for checked! Let me know if that works for you Jay Dubal Analyst Programmer (.NET/ C#) GatewayTechnolabs Pvt. Ltd.
Can be done! Zen said: Is there a way to enable check box for leaf nodes only for the TreeView? Thanks! Click to expand... Hi Zen, there is a work around for this .... 1. Use a image list and give two images (one) un-checked and (two) for checked 2. Then set the checked property false, ( we donot want to use this now) ... The leaf node will have selected index = 0 (of Image list) and = 1 for checked! Let me know if that works for you Jay Dubal Analyst Programmer (.NET/ C#) GatewayTechnolabs Pvt. Ltd.