﻿<?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 - get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</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>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Tue, 17 Nov 2009 20:26:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Ca,&lt;/p&gt;&lt;p&gt;Ok, i will let you know when they have responded to me. I will keep follow up this issue to our developer.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Tue, 17 Nov 2009 06:56:00 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hello&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks for the reply.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Generate a treefrom the database and handle it from the backend code is the most importand part in my project.&lt;/p&gt;
&lt;p&gt;If we consider the treeview, populating tree from database is a very basic feature. And once populated , then have the control from the backend is the nesessary thing to have in it.&lt;/p&gt;
&lt;p&gt;Please let me know , if your development team have any solution for this.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Expecting the solution soon from the "award winning team".&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;ca&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Mon, 16 Nov 2009 02:56:36 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;From the sample, if the scenario is LoadOnDemand, after postback, the selected child would be gone because the treeview is collapsed. But after investigating this issue, it seems we also have an issue when set node programmatically. On your sample, if i set LoadOnDemand false, the child is not selected after postback. That's why you always get error or null with the code we gave you. I will submit this to our developer and disccuss with them again.&lt;/p&gt;
&lt;p&gt;For Expanded images, it seems the path is not correct again in our latest hotfix (regression). This could also a bug.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Mon, 16 Nov 2009 00:20:26 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hello Handy,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks for your reply. Whatever you mentioned is not working for me. please find the below attachment which is your given samble in which i tried to&lt;/p&gt;
&lt;p&gt;1. catching selected node from the backend&lt;/p&gt;
&lt;p&gt;2. put expanded image for the node&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Both is not working for me.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Sun, 15 Nov 2009 22:28:28 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi ca,&lt;/p&gt;&lt;p&gt;I also used those code and works fine. You can modify my sample by adding the textbox and see the value. Could you send me a simple sample (runnable) that replicates the issue? Maybe something missing at your sample. Also about Expanded image, you will need to set image properties before you can use expanded image properties.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>get the selected node from backend of the tree populated from database.</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/get-the-selected-node-from-backend-of-the-tree-populated-from-database/</link><pubDate>Sun, 15 Nov 2009 05:52:03 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; " /&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;hi,&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br style="font-family: 'segoe ui', arial, verdana, tahoma; " /&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;i have created, tree using the method you defined (using database). It is working almost, except some properties like expanded image etc.&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;this is in the thread &lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;a href="http://www.intersoftpt.com/Community/WebTreeView/tree-using-database/"&gt;http://www.intersoftpt.com/Community/WebTreeView/tree-using-database/&lt;/a&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br style="font-family: 'segoe ui', arial, verdana, tahoma; " /&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Can you please tell me , how can i get the selected node from the backend. Means i want to get the selected node on a button click.&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;pre&gt;protected void Button1_Click(object sender, EventArgs e)
{
    TextBox1.Text = WebTreeView1.SelectedNode.Text;
}&lt;/pre&gt;
&lt;p&gt; the above given code is not working.&lt;/p&gt;
&lt;p&gt;can anyone tell me the reason? or is there any other way to do that...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks and regards&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;ca&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item></channel></rss>