﻿<?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 - Lounge - Web TreeView Dynamic binding on Page_Load </title><link>http://www.intersoftsolutions.com/Community/Lounge/Web-TreeView-Dynamic-binding-on-PageLoad/</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>Web TreeView Dynamic binding on Page_Load </title><link>http://www.intersoftsolutions.com/Community/Lounge/Web-TreeView-Dynamic-binding-on-PageLoad/</link><pubDate>Wed, 10 Feb 2016 07:49:15 GMT</pubDate><dc:creator>yudi</dc:creator><category>Web TreeView</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;By enabling AutoPostBackSettings and specific action is executed (in this case: drag-drop, node add, node check changed, node delete, and node edit), WebTreeView will call specified event handler at server-side where developer can perform additional action based on that event.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Try to set &lt;strong&gt;PostBackModeType&lt;/strong&gt; property to &lt;em&gt;FlyPostBack&lt;/em&gt; to have advantages from both world. Event handler at server-side and client-side events are firing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The changes can be seen in the following snippet code:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebTreeView:WebTreeView ID="WebTreeView2" runat="server"
    ...
    AllowAddNode="True" AllowDeleteNode="True" AllowNodeEditing="Yes"
    OnNodeSelectChanged="WebTreeView2_NodeSelectChanged"
    PostBackModeType="FlyPostBack"&amp;gt;
    &amp;lt;AutoPostBackSettings OnDragDrop="true" OnNodeAdd="true"
        OnNodeMove="true" OnNodeSelectChanged="True" /&amp;gt;
    &amp;lt;DragDropSettings AllowRootDrop="True" AllowChildDrop="True"
        AllowLeafDrop="True" AllowSiblingDrop="True" /&amp;gt;
    &amp;lt;NodeSettings EnableAnimation="True" /&amp;gt;
    &amp;lt;ClientSideEvents OnDragDrop="OnDragDrop" OnNodeMove="OnNodeMove"
        OnNodeAdd="OnNodeAdd" /&amp;gt;
&amp;lt;/ISWebTreeView:WebTreeView&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This should helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Web TreeView Dynamic binding on Page_Load </title><link>http://www.intersoftsolutions.com/Community/Lounge/Web-TreeView-Dynamic-binding-on-PageLoad/</link><pubDate>Tue, 09 Feb 2016 16:30:07 GMT</pubDate><dc:creator>shailendra.senger</dc:creator><category>Web TreeView</category><description>&lt;p&gt;Thank you Yudi for your reply.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have modified your sample and just added AutoPostback setting for Add, Selected, DragDrop and Move. My application requires these server side events to display values in tabs.&lt;/p&gt;&lt;p&gt;Please go through the attachment (WebTreeview Sample Enhanced.zip) now you can see that None of functionality working correctly. Events are not firing.&lt;/p&gt;&lt;p&gt;Please let me know how your WebTreeview control works on postback.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Waiting for your reply. Thanks.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Shailendra Singh&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Web TreeView Dynamic binding on Page_Load </title><link>http://www.intersoftsolutions.com/Community/Lounge/Web-TreeView-Dynamic-binding-on-PageLoad/</link><pubDate>Tue, 09 Feb 2016 07:25:11 GMT</pubDate><dc:creator>yudi</dc:creator><category>Web TreeView</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I created a simple sample of WebTreeView based on your description. The data source is a List and the treeview node is contructed on Page_Load event.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following treeview events: Drag Drop, NodeMove, NodeAdd - are working as expected. Please have the attached sample evaluated on your end and let me know if you have different result.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Web TreeView Dynamic binding on Page_Load </title><link>http://www.intersoftsolutions.com/Community/Lounge/Web-TreeView-Dynamic-binding-on-PageLoad/</link><pubDate>Fri, 05 Feb 2016 22:35:24 GMT</pubDate><dc:creator>shailendra.senger</dc:creator><category>Web TreeView</category><description>&lt;div&gt;&lt;span style="font-size: 10pt;"&gt;My Datasource is a List&amp;lt;&amp;gt; from which I am parsing and binding treeview on Page_Load event.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;But binding on Load causing none of treeview events i.e Drag Drop, NodeMove, NodeAdd etc. working properly.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It seems that Web Treeview is working correctly only for XML and SiteMap datasource but not ObjectDatasource.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Can you please provide me any sample available for objectDataSource for DragDrop, NodeMove, NodeAdd, NodeDelete.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;We have already purchased your control. Please answer.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>