﻿<?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 Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</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 Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Wed, 10 Nov 2010 20:43:23 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to put the height initialization in the &amp;lt;td&amp;gt; element instead of &amp;lt;tr&amp;gt; element, so that the modified code should look like following snippet code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;table ...&amp;gt;
    &amp;lt;tr&amp;gt;
        &amp;lt;td style="background-color: yellowgreen; height: 20$ispct;" class="text"&amp;gt;
        &amp;lt;/td&amp;gt;
    &amp;lt;/tr&amp;gt;
    &amp;lt;tr&amp;gt;
        &amp;lt;td&amp;gt;
            &amp;lt;ISWebDesktop:WebSplitter ID="WebSplitter1" runat="server" ...&amp;gt;
                ....
            &amp;lt;/ISWebDesktop:WebSplitter&amp;gt;
        &amp;lt;/td&amp;gt;
    &amp;lt;/tr&amp;gt;
    &amp;lt;tr&amp;gt;
        &amp;lt;td style="background-color: palegreen; height: -80$ispct;"&amp;gt;
        &amp;lt;/td&amp;gt;
    &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;By using the code above, the splitter is no longer have difficulties to be dragged to change the size of table cell. Please let us know your whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Tue, 09 Nov 2010 04:28:01 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;In the SplittingTwoRows.aspx. I initialize the row's height. And then I cann't drag to change the size of table cell.If I initialize one row's height, the other row cann't change.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;table style="width: 400px; height: 500px; table-layout: fixed; border-collapse: collapse"&amp;gt;&lt;br /&gt; &amp;lt;tr style="height:20$ispct;"&amp;gt;&lt;br /&gt; &amp;lt;td style="background-color: yellowgreen;" class="text"&amp;gt;&lt;br /&gt; &amp;lt;/td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;tr&amp;gt;&lt;br /&gt; &amp;lt;td&amp;gt;&lt;br /&gt; &amp;lt;ISWebDesktop:WebSplitter ID="WebSplitter1" runat="server" Orientation="Horizontal"&lt;br /&gt; Grip="False" GripImageCollapse="../Images/dot.gif" GripImageRestore="../Images/dot.gif"&amp;gt;&lt;br /&gt; &amp;lt;SplitterStyle&amp;gt;&lt;br /&gt; &amp;lt;Active BaseStyle="Normal"&amp;gt;&lt;br /&gt; &amp;lt;/Active&amp;gt;&lt;br /&gt; &amp;lt;Over BaseStyle="Normal"&amp;gt;&lt;br /&gt; &amp;lt;/Over&amp;gt;&lt;br /&gt; &amp;lt;Normal BackColor="Silver" Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden"&amp;gt;&lt;br /&gt; &amp;lt;/Normal&amp;gt;&lt;br /&gt; &amp;lt;/SplitterStyle&amp;gt;&lt;br /&gt; &amp;lt;/ISWebDesktop:WebSplitter&amp;gt;&lt;br /&gt; &amp;lt;/td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;tr style="height:80$ispct;"&amp;gt;&lt;br /&gt; &amp;lt;td style="background-color: palegreen;"&amp;gt;&lt;br /&gt; &amp;lt;/td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;/table&amp;gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Mon, 08 Nov 2010 22:36:50 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Should you need to have resizable and collapsible behavior as such available in WebPaneManager, please try to use the WebSplitter component.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebSplitter control is often used on table with contents have varying lengths of data to present, which needs more dynamic navigation to resize the panes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;There are sample files of WebSplitter that you might want to check (in local WebDesktopSamples or in live sample site).&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;SplittingCellsWithRowSpan.aspx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This sample demonstrates splitting cells with row span, which applies WebSplitter feature, Intelligent Resizing mechanism. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;SplittingTwoRows.aspx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This sample demonstrates splitting cells with row span, which applies WebSplitter feature, Intelligent Resizing mechanism.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;SplittingTwoCells.aspx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This sample demonstrates AllowCollapse feature.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;SplitterWithAllowCollapse.aspx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This sample demonstrates WebSplitter’s Grip Interactive Style.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Mon, 08 Nov 2010 21:53:23 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;Since loading/refreshing WebUserControl that has WebPaneManager which contains WebTreeView inside has proven to be heavy, I’d like to recommend you to put the WebTreeView and WebGrid inside ASP.NET Panel.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;I have checked that by using the code in my previous post on November 7, 2010 the reported Javascript error which occurs after refreshing two times is no longer persist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;Please let us hear your feedback.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; I know what you mean, but the reason why I use &lt;span 9pt;="" font-size:="" 125);="" 73,="" rgb(31,="" color:="" ;="" sans-serif="" ,="" ui="" segoe="" style=""&gt;WebPaneManager is my customer want to change the pane's size by using drag and Collapse the pane which contains the treeview.Could you please tell my problem to your developer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span 9pt;="" font-size:="" 125);="" 73,="" rgb(31,="" color:="" ;="" sans-serif="" ,="" ui="" segoe="" style=""&gt;regards&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Mon, 08 Nov 2010 21:39:51 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Since loading/refreshing WebUserControl that has WebPaneManager which contains WebTreeView inside has proven to be heavy, I’d like to recommend you to put the WebTreeView and WebGrid inside ASP.NET Panel.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I have checked that by using the code in my previous post on November 7, 2010 the reported Javascript error which occurs after refreshing two times is no longer persist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please let us hear your feedback.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Mon, 08 Nov 2010 00:56:26 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;After observe the problematic behavior using your sent sample, it is obvious that refreshing the pane manager (WebUserControl1.ascx) may be the one that heavy and not suggested.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;It would be best to limit the refresh only on the treeview as shown in the WebUserControl2.ascx file.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;Hope this helps and please let us know your response.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;But I have this need, I want to put a treeview in the left pane,a webgrid in the right pane.why Refreshing the treeview is heavy. I did not &lt;span style="" segoe="" ui="" ,="" sans-serif="" ;="" color:="" rgb(31,="" 73,="" 125);="" font-size:="" 9pt;=""&gt;refresh the pane manager. I just refresh the treeview.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="" segoe="" ui="" ,="" sans-serif="" ;="" color:="" rgb(31,="" 73,="" 125);="" font-size:="" 9pt;=""&gt;Now use your gived method like this in &lt;/span&gt;WebUserControl1.ascx.But the refreshing process is also very slow.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;mvWebTreeView.RequiresUIRefresh = true;&lt;br /&gt;uiService.ClientAction.RefreshModifiedControls();&lt;br /&gt;&lt;/pre&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Sun, 07 Nov 2010 21:42:40 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to enable RequiresUIRefresh property to have AJAX over Intersoft’s components.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;While standard .NET controls can be automatically updated when they have changed, Intersoft controls do not use similar techniques as Intersoft controls provide broad range of scenarios. For instance, there are scenarios where some of the data properties need to be changed, but the user interface does not need to be updated. With property control, developers will have more flexibility to control the behavior of the partial update.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I modified the WebUserControl3.ascx file as shown in the following snippet code and found that the Javascript no longer persist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: segoe ui; color: #1f497d"&gt;WebForm1.aspx&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;...
&amp;lt;div&amp;gt;
    &amp;lt;ISWebDesktop:WebFlyPostBackManager ID="uiService" runat="server"
        ServiceUrl="WebForm1.aspx" ServiceType="WebForm" AutoEventWireup="true"
        Asynchronous="true" BlockPageUIOnBusy="true" EnableUIMode="true"&amp;gt;
        &amp;lt;FlyPostBackSettings PostInputControls="True" PostViewState="True"
            PostControlState="true" PostHiddenFields="true" /&amp;gt;
    &amp;lt;/ISWebDesktop:WebFlyPostBackManager&amp;gt;
...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: segoe ui; color: #1f497d"&gt;WebUserControl3.ascx.cs&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;...
public void RefreshTreeView(WebFlyPostBackManager uiService)
{
    mvWebTreeView.Nodes.Clear();

    int count = 5;
    for (int i = 0; i &amp;lt; count; i&amp;#43;&amp;#43;)
    {
        WebTreeViewNode t = new WebTreeViewNode();
        t.Text = i.ToString();
        t.Name = i.ToString();
        mvWebTreeView.Nodes.Add(t);

        int children = 5;
        for (int j = 0; j &amp;lt; children; j&amp;#43;&amp;#43;)
        {
            WebTreeViewNode c = new WebTreeViewNode();
            c.Text = i.ToString() &amp;#43; j.ToString();
            c.Name = i.ToString() &amp;#43; j.ToString();
            t.Nodes.Add(c);
        }
    }

    mvWebTreeView.ExpandAll();

    //uiService.ClientAction.RenderControl(Panel1);
    mvWebTreeView.RequiresUIRefresh = true;
    uiService.ClientAction.RefreshModifiedControls();
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us hear your feedback.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Fri, 05 Nov 2010 02:32:09 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>"If I put webtreeview in a Panel.I use webflypostbackmanager to refresh the panel." &lt;br /&gt;I mean like this uiService.ClientAction.RenderControl(Panel1); It will accur a error.&lt;br /&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Thu, 04 Nov 2010 23:15:29 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I made a simple test by creating another Web User Control, WebUserControl3.ascx, where the WebTreeView is put inside an ASP.NET Panel. However, I was unable to reproduce the Javascript error after refreshing the panel two times or more.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The user controls file that I used to test the scenario is enclosed as attachment. Could you please kindly test the user control file in your local end and let us know your response?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;You may make any necessary changes to the file so that it reproduces the Javascript error issue.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Thu, 04 Nov 2010 02:22:50 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;But I have this need, I want to put a treeview in the left pane,a webgrid in the right pane. Is there any solution for this.Otherwise, If I put webtreeview in a Panel.I use webflypostbackmanager to refresh the panel. I will be very fast.But refresh two times more will accur a js error.&lt;/p&gt;&lt;p&gt;regards&lt;/p&gt;</description></item><item><title>WebTreeView Refresh Problem</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-Refresh-Problem/</link><pubDate>Mon, 01 Nov 2010 23:43:19 GMT</pubDate><dc:creator>20100520</dc:creator><category>WebTreeView Refresh Problem</category><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;I have a problem in refreshing a webtreeview.In the sample,first I load a usercontrol in WebForm1.aspx which includes a WebPaneManager,a WebFlyPostBackManager and a button. In the WebUserControl1.ascx, it also contains a WebPaneManager. The WebPaneManager contains a webtreeview. I want to catch the button click event to refresh the webTreeView through the WebFlyPostBackManager. But the refreshing process is very slow. otherwise, if webtreeview is not in a WebPaneManager. such as the WebUserControl2.ascx. the refreshing process will be very fast. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;he peng&lt;/p&gt;</description></item></channel></rss>