﻿<?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 - WebTreeView - WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-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/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Mon, 17 Jan 2011 12:55:15 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I think it is easier if you configure it in Node Style properties. Selected node would be referred into Active style.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy &lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Sun, 16 Jan 2011 22:07:54 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Can I set the style of the selected node?(the other nodes keep the default style)&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Fri, 14 Jan 2011 02:35:05 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;thank you,Handy&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Thu, 13 Jan 2011 21:30:29 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Hello Frank,&lt;/p&gt;&lt;p&gt;It is not possible to change its color in properties. You will need to get the element and set its style.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebTreeView1_OnNodeSelect(ctrlId, node) {
    var url = node.Value;
    node.GetElement().style.color="red";
    if (url != "") {
        setPanelURL(url);        
    }
    return true;
}&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Thu, 13 Jan 2011 20:31:30 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Can you show me a demo about how to custom style by clientside???&lt;br /&gt;However,it does not work by the code below:&lt;br /&gt;function WebTreeView1_OnNodeSelect(ctrlId, node) {&lt;br /&gt;    var url = node.Value;&lt;br /&gt;//    alert(node.style)&lt;br /&gt;      node.style.color='red';&lt;br /&gt;    if (url != "") {&lt;br /&gt;        setPanelURL(url);        &lt;br /&gt;    }&lt;br /&gt;    return true;&lt;br /&gt;}&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Wed, 12 Jan 2011 23:33:14 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Hello Frank,&lt;/p&gt;&lt;p&gt;I am afraid, it is not possible. Your workaround is raised an issue according to your screenshot.&lt;br /&gt;The problem is, text is also applied into table element.&lt;br /&gt;I suggest you to do it via client side by using attachevent for the current node.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Wed, 12 Jan 2011 20:25:56 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;I am sorry,your idea can not meet my need. I want to chang the current node(&lt;strong&gt;e.Node.Depth == 2&lt;/strong&gt;)when I mousemove(not all the nodes).(see the picture)&lt;br /&gt;can you help me???&lt;/p&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-CustomStyle/</link><pubDate>Wed, 12 Jan 2011 02:32:06 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTreeView</category><category>CustomStyle</category><description>&lt;p&gt;Hello Frank you can set NodeStyle for Normal and Over properties. &lt;/p&gt;&lt;p&gt;E.g In normal state, please try to apply below style.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt; &amp;lt;NodeStyle&amp;gt;
 &amp;lt;Normal ForeColor="Blue"&amp;gt;
 &amp;lt;/Normal&amp;gt;
 &amp;lt;Over ForeColor="Red"&amp;gt;
 &amp;lt;/Over&amp;gt;
 &amp;lt;/NodeStyle&amp;gt;&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebTreeView  CustomStyle</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-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>