Changing Font In TreeNode Asp.Net

Posted on 2009-12-17
Last Modified: 2012-08-13
How do I change the font color of a treenode?
I have tried this:
New TreeNode("<font color=red>" & node.Text & "</font>" , id)
which works for changing the font color, but if you do it like this you lose the "+" to expand the nodes out for some reason. Anyone got a way to change the font colors without disturbing the control. They should have a property in the TreeNode object but thye dont.
Question by:npl77
    LVL 5

    Accepted Solution

    did you tried somthing.

    new TreeNode().Style.add();

    Author Comment

    Style property is not there under treenode in ASP.Net 2.0

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now