﻿<?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 - WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</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>WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</link><pubDate>Mon, 21 Sep 2009 09:01:59 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p&gt;This worked! Thank you.&lt;/p&gt;</description></item><item><title>WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</link><pubDate>Fri, 18 Sep 2009 23:43:56 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Dasha, &lt;/p&gt;&lt;p&gt;Did you mean that you need to access the Tag value from server-side during postback? If so, you can set the Tag value in client-side using the method below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;pre&gt;selectedNode.Set("Tag", "NewValue", true);&lt;/pre&gt;
&lt;p&gt;Using the above method, the value will be modified in client and also persisted to server-side during postback. Let me know if that works for you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</link><pubDate>Fri, 18 Sep 2009 09:23:11 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p&gt;Actually , the main task was to change the Tag value on the currently selected node.  so somehing like this:&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="color: #0000ff"&gt;function&lt;/span&gt; Button1_onclick() {
    &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; WebTreeView1 = ISGetObject(&lt;span style="color: #ff0000"&gt;"WebTreeView1"&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;    var selectedNode = WebTreeView1.GetSelectedNode();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;
    selectedNode.Tag = &lt;span style="color: #ff0000"&gt;"Tag is set on Button1_onclick event"&lt;/span&gt;;
    document.getElementById("Text1").value = WebTreeView1.GetSelectedNode().Tag;
}&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;I realize that the changes made to the selected node variable are not sticking, but how can I make the modification to the currenlty selected node?  &lt;/p&gt;</description></item><item><title>WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</link><pubDate>Wed, 16 Sep 2009 06:15:15 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Following code should help.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="color: #0000ff"&gt;function&lt;/span&gt; Button1_onclick() {
    &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; WebTreeView1 = ISGetObject(&lt;span style="color: #ff0000"&gt;"WebTreeView1"&lt;/span&gt;);
    WebTreeView1.Nodes[0].Tag = &lt;span style="color: #ff0000"&gt;"Tag is set on Button1_onclick event"&lt;/span&gt;;
    document.getElementById("Text1").value = WebTreeView1.Nodes[0].Tag;
}&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let me know if you have different scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeViewNode.Tag property</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeViewNodeTag-property/</link><pubDate>Tue, 15 Sep 2009 05:12:07 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px; font-family: calibri"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-size: 15px; font-family: calibri"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 11pt; font-family: 'calibri','sans-serif'; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;I’m having trouble setting the .Tag property on a WebTreeViewNode on the client side.&amp;nbsp; How can I set it on a selected node and have the value stick?&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>