Sarbjit, what you need to do is setting the Backgroundimageurl on the node like this:
<asp:TreeView ID="TreeView2" runat="server">
<Nodes>
<My:BGTreeNode Text="Node A" Value="A"
BackgroundImageUrl="bg2.jpg" >
<My:BGTreeNode Text="Node B" Value="B"
BackgroundImageUrl="bg3.jpg">
</My:BGTreeNode>
</My:BGTreeNode>
</Nodes>
</asp:TreeView>
You can read about other ways to customize the treeview control here: http://weblogs.asp.net/dannychen/archive...
Let me know if this solves your question.
|
|
Expert:
|
dustPuppy
|
|
Date:
|
Oct 02, 2006
|
|
Time:
|
15:30
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Thanks dustPuppy.....
|
|
Expert:
|
multani.sarbjit
|
|
Date:
|
Oct 06, 2006
|
|
Time:
|
11:18
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
|
|
|
|
This question has been answered, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.
|
|