Welcome Guest Search | Active Topics | Sign In | Register

Treeview Options
hmrsur
Posted: Tuesday, September 2, 2008 11:31:23 AM
Rank: Newbie
Groups: Member

Joined: 7/18/2007
Posts: 6
Hi,

i want to change the node image with code (c#). is this possible ?

sur
eo_support
Posted: Tuesday, September 2, 2008 11:49:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

Yes. You can definitely do that. It will be something like this:

Code: C#
TreeView1.Nodes[0].ImageUrl = "something.gif";


- Or -

Code: C#
TreeView1.Nodes[0].ChildNodes[2].ImageUrl = "something.gif";


For more information, you will want to look into the documentation:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.html

The above page contains reference information about all classess, methods and properties that you can use.

Thanks
hmrsur
Posted: Wednesday, September 3, 2008 6:39:04 AM
Rank: Newbie
Groups: Member

Joined: 7/18/2007
Posts: 6
Thank you for the quick response.

sur


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.