We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Customizing TreeView Images

Hi,

I would like to know how to customize the node images of mvc treeview control. I am currently using version 8.104.0.30 and defined the nodes trough UL and LI elements.
I selected Windows Live style but i wanted to change the it's images. Thank you so much.

3 Replies

PK Prem Kumar D Syncfusion Team June 28, 2010 04:24 AM UTC

Hi Dennis,

Thanks for using Syncfusion products

With regard to your query, the tree view node images can be customized with CustomCss property and by overriding the whole css with the 8.104.0.30 version

TreeViewModel model = new TreeViewModel();
model.CustomCSS = "MyTreeViewStyle";

and define the css. You can download the css from the below location

http://help.syncfusion.com/support/Tools_MVC/Forums/95197/TreeView.css

Let me know if you have any queries

Best Regards,
Premkumar D


DM Dennis Morales June 28, 2010 07:30 AM UTC

Many Thanks


PK Prem Kumar D Syncfusion Team June 28, 2010 02:32 PM UTC

Hi Dennis,

We are glad to hear that your problem is resolved. Donot hesitate to get back to us for any further assistance

Best Regards,
Premkumar

Loader.
Live Chat Icon For mobile
Up arrow icon