This is a migrated thread and some comments may be shown as answers.

TriState TreeView

3 Answers 64 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Ray
Top achievements
Rank 1
Ray asked on 06 Aug 2008, 10:25 AM
Does the RadFormDecorator support the new TriState option in RadTreeView?  I want to modify the image used for 'checked (incl all children)', 'unchecked', and 'partially checked (not all children)'.

Are there any posted skins with this functionaility as an example?
 
Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 06 Aug 2008, 11:20 AM
Hi Ray,

In general, RadFormDecorator will decorate RadTreeview, however I am not quite sure what exactly you want to achieve. Can you please provide more information on that?



All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ray
Top achievements
Rank 1
answered on 06 Aug 2008, 04:46 PM
What I am looking for is simple.
The standard control look shows a [  ],  [X], [<shaded box>] for the three treeView states.

All I want is to use a different graphic for this.  Simply a Solid green circle for All, a Red Circle for None, and a Yellow Circle for partially.

In another tool I have seen the images used are simple gif files.

"Check boxes are images with predefined names (ChkBox.gif, ChkBoxChk.gif and ChkBoxSemi.gif) which are placed in the Skin Folder as specified by the SkinFolderURL property."

Is this as simple in your control?

Also.  Is there a way to combine the TreeView with the Grid look?
Some thing like
[+] [   ]  California          13 entries          $ 34,000
  |     |----  [  ]  San Diego                        $ 10,000       Due 12/01/2008 
  |     |----  [  ]  Los Angeles                     $ 20,000       Due 12/10/2008
  |     |----  [  ]  San Fransisco                   $  4,000        Due 10/01/2008

I suppose this could be attempted by building a string as the tree item, but I am worried about alignment issues.

Thanks
Ray


BTW:  Being able to add a graphic here would be most helpful in showing you what I am thinking.
           



0
Georgi Tunev
Telerik team
answered on 07 Aug 2008, 12:59 PM
Hello Ray,

Thank you for the additional details.
The checkboxes that are used in the tri-state mode are not real INPUT elements, but skinned SPAN - that is why RadFormDecorator cannot decorate them. If you need to provide custom styles for these checkboxes, I suggest to use a custom skin and to modify the TriState.gif image accordingly to your requirements.



Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
Ray
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Ray
Top achievements
Rank 1
Share this question
or