﻿<?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 (as Navigation): Problem during Browser Resize</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-as-Navigation-Problem-during-Browser-Resize/</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 (as Navigation): Problem during Browser Resize</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-as-Navigation-Problem-during-Browser-Resize/</link><pubDate>Fri, 29 Oct 2010 17:07:05 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I have forwarded the issue to WebDesktop development team.&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 issue is filed under work item #838. I’ll keep you updated with any news I heard from the team regarding work item #838.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;For your information, during my test, I found out that the Javascript error not persists if the Height and Width property of WebTreeView is not set to “100$ispct;”. In my case, I set the Height and Width with an integer value.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Thank you for your valuable feedback.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView (as Navigation): Problem during Browser Resize</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-as-Navigation-Problem-during-Browser-Resize/</link><pubDate>Thu, 28 Oct 2010 22:25:35 GMT</pubDate><dc:creator>kenny.yung</dc:creator><description>&lt;p&gt;Thanks Yudi.&lt;/p&gt;
&lt;p&gt;I tried you suggestion and it does work.&lt;/p&gt;
&lt;p&gt;However, as i have stated in my original post. The reason why i load the content using Flypostback and javascript is I want to have the 'loading screen' to inform the user what's going on rather than a blank screen and the content suddenly comes up. As our pages need some time to render&lt;/p&gt;
&lt;p&gt;Please see the attached graphic for my expected result.&lt;/p&gt;
&lt;p&gt;Many Thanks.&lt;/p&gt;
&lt;p&gt;Kenny&lt;/p&gt;</description></item><item><title>WebTreeView (as Navigation): Problem during Browser Resize</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-as-Navigation-Problem-during-Browser-Resize/</link><pubDate>Thu, 28 Oct 2010 11:21:19 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I made a minor modification on your sent sample in order to avoid the issue. Below is the detail of the changes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;TestWebDesktop.aspx&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Add and set the &lt;em&gt;NavigateURL&lt;/em&gt; and &lt;em&gt;Target&lt;/em&gt; property over the &lt;em&gt;WebTreeViewNode&lt;/em&gt; collection. 
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Original version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Nodes&amp;gt;
    &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode1" Text="Home"&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode2" 
            Text="Yahoo" Tag="http://www.yahoo.com/"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode4" 
            Tag="http://www.google.com/" Text="Google"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode5" 
            Tag="http://www.microsoft.com/" Text="Microsoft"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
    &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
&amp;lt;/Nodes&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Modified version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Nodes&amp;gt;
    &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode1" Text="Home"&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode2" Text="Yahoo" Tag="http://www.yahoo.com/"
            NavigateURL="http://www.yahoo.com/" Target="panContent"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode4" Tag="http://www.google.com/"
            Text="Google" NavigateURL="http://www.google.com/" Target="panContent"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
        &amp;lt;ISWebTreeView:WebTreeViewNode Name="node_NewNode5" Tag="http://www.microsoft.com/"
            Text="Microsoft" NavigateURL="http://www.microsoft.com/" Target="panContent"&amp;gt;
        &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
    &amp;lt;/ISWebTreeView:WebTreeViewNode&amp;gt;
&amp;lt;/Nodes&amp;gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Removes &lt;em&gt;OnNodeSelect&lt;/em&gt; client-side event of WebTreeView. 
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Original version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ClientSideEvents OnNodeSelect="wtvNav_OnNodeSelect" OnInitialize="wtvNav_OnInitialize" /&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Modified version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ClientSideEvents OnInitialize="wtvNav_OnInitialize" /&amp;gt;&lt;/pre&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;&lt;strong&gt;TestWebDesktop.aspx.vb&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Add and set the &lt;em&gt;ServiceType&lt;/em&gt; property and &lt;em&gt;FlyPostBackSettings&lt;/em&gt; collection, enable &lt;em&gt;EnableUIMode&lt;/em&gt; property. 
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Original version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)

        listener = New WebFlyPostBackListener(Me)

        WebFlyPostBackManager1.ServiceUrl = Request.Url.PathAndQuery
    End Sub&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Modified version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)

        listener = New WebFlyPostBackListener(Me)

        WebFlyPostBackManager1.ServiceUrl = Request.Url.PathAndQuery
        WebFlyPostBackManager1.ServiceType = ServiceType.WebForm
        WebFlyPostBackManager1.EnableUIMode = True

        WebFlyPostBackManager1.FlyPostBackSettings.PostInputControls = True
        WebFlyPostBackManager1.FlyPostBackSettings.PostViewState = True
    End Sub&lt;/pre&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;I utilize the &lt;em&gt;NavigateURL&lt;/em&gt; and &lt;em&gt;Target&lt;/em&gt; property of WebTreeView in order to avoid the issue when resizing the browser. &lt;strong&gt;NavigateURL&lt;/strong&gt; is a property which will allow you to set the URL when a node is clicked, while the &lt;strong&gt;Target&lt;/strong&gt; property allows you to set in which window the URL will be displayed. You can direct it to an iFrame or even a new window.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;By using NavigateURL and Target property, the OnNodeSelect client-side event that is used to execute LoadContent() method is no longer needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebTreeView (as Navigation): Problem during Browser Resize</title><link>http://www.intersoftsolutions.com/Community/WebTreeView/WebTreeView-as-Navigation-Problem-during-Browser-Resize/</link><pubDate>Wed, 27 Oct 2010 23:53:54 GMT</pubDate><dc:creator>kenny.yung</dc:creator><description>&lt;p&gt;Dear,&lt;/p&gt;
&lt;p&gt;I am using WebTreeView as a Site Navigation, It is placed inside a WebPaneManager.&lt;/p&gt;
&lt;p&gt;After I have loaded the populated my content pane by clicking one of the node, I received Javascript Error when I try to resize (Minimize/Maximize) the Browser. This error only comes out when I am using IE8, no problem in other browser like Firefox/Opera. In Google Chrome, the WebTreeView just simply doesn't work!&lt;/p&gt;
&lt;p&gt;Please also note that I am using a WebFlypostback to perform the content loading, the reason for that is I want to show the Loading Animation during the content load.&lt;/p&gt;
&lt;p&gt;Please help me out to eliminate this Javascript error.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Kenny&lt;/p&gt;</description></item></channel></rss>