Register  |  Login

Question Details    

   Question

Time: 09:29 - Sep 21, 2006     Asked by: multani.sarbjit      Status: Answered      Points: 75   

Customized Treeview in asp.net 2

I want to use customized Treeview in asp.net 2. I have got the icons to be used instead of default icons of nodes and parent nodes of Treeview. How it can be done it?

Any suggestion please.....

Regards,
Sarbjit

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
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

Question Answered

This question has been answered, and points have been rewarded to the following experts:

dustPuppy: 75

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.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment