﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - CustomStyle</title><link>http://www.intersoftsolutions.com/Community/Tags/CustomStyle/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/Tags/CustomStyle/</link><pubDate>Wed, 12 Jan 2011 01:25:22 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;&lt;strong&gt;Can I custom the node's style,like this:&lt;/strong&gt;when I onmouseover,the node color is red,when I onmouseout ,the node color is blue.(see the picture below)&lt;br /&gt;Any way, my code does not work.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;How can I do ??Anyone can help me ?Thanks &lt;/p&gt;&lt;pre&gt; &amp;lt;ISWebTreeView:WebTreeView ID="Tree_left" runat="server" Height="365px" Width="156px"                    DataSourceID="XmlDataSource1" AutoGenerateDataBindings="True"          OnInitializeNode="Tree_left_InitializeNode"&amp;gt;

  protected void Tree_left_InitializeNode(object sender, WebTreeViewNodeEventArgs e)
    {       
        if (e.Node.Depth == 2)
        {
      &lt;strong&gt;      //e.Node.CustomStyle = "cursor: hand;border-bottom:1px solid #0000CC;vertical-align:bottom;color:#0000CC;";
            e.Node.Text ="&amp;lt;u onmouseover=\"this.style.color='red'\" onmouseout=\"this.style.color='#0000CC'\" &amp;gt;"&amp;#43;e.Node.Text&amp;#43;" &amp;lt;/u&amp;gt;";&lt;/strong&gt;
          
        }
    }&lt;/pre&gt;
</description></item></channel></rss>