﻿<?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 - WebDesktop - Add Tabitem load ascx</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Tabitem-ascx/</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>Add Tabitem load ascx</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Tabitem-ascx/</link><pubDate>Mon, 07 Nov 2011 05:23:09 GMT</pubDate><dc:creator>yudi</dc:creator><category>Add Tabitem load ascx</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Glad to hear the good news.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add Tabitem load ascx</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Tabitem-ascx/</link><pubDate>Fri, 04 Nov 2011 08:01:50 GMT</pubDate><dc:creator>PatriciaGomes</dc:creator><category>Add Tabitem load ascx</category><description>&lt;p&gt; &lt;/p&gt;
&lt;div class="postcontent" id="content11067" style="margin-bottom: 10px"&gt;&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your help !!!&amp;nbsp; This worked perfectly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;regards, &lt;/p&gt;&lt;p&gt;Patrícia&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Add Tabitem load ascx</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Tabitem-ascx/</link><pubDate>Tue, 01 Nov 2011 23:06:33 GMT</pubDate><dc:creator>yudi</dc:creator><category>Add Tabitem load ascx</category><description>&lt;blockquote&gt;&lt;p&gt;I would like to add dynamically a tab ...&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://www.intersoftpt.com/Community/Attachments/2954/WebTab.png" /&gt; 
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I assume that you would like to add WebTab item dynamically from client-side. The snippet code below shows a JavaScript function that is used to add WebTab item from client-side.&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 me know if this is not what you're after to.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;
    &amp;lt;!--
    var tabNewIndex = 1;

    function AddNewTab() {
        var tab = ISGetObject("WebTab1");
        var newItem = tab.AddNewTabItem("Untitled" &amp;#43; tabNewIndex, "Untitled " &amp;#43; tabNewIndex, null);

        newItem.SetActive(); // set the newly created tab item as active.
        tabNewIndex&amp;#43;&amp;#43;;
    }
    //--&amp;gt;
&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;... I would like to load an ascx (or aspx) on tab...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;By default, the WebTab will operate in "UseInlineContent" mode when a new instance is dropped to designer surface. UseInlineContent is the most suitable when the contents inside each tab page are relatively small. You can also determine the "content load" by inspecting the performance during page load as well as the size of the output. UseInlineContent mode utilized .NET Framework's Templating archictecture and therefore all contents are loaded at once in first load (although the inactive pages are set to hidden).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;In most cases where you want to develop a more reusable form, you should use &lt;strong&gt;UseIFrame&lt;/strong&gt; for the content mode. When using IFrame mode, you would need to specify the &lt;strong&gt;ContentURL&lt;/strong&gt; which page you want to load for the designated Tab item.&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 ContentURL accepts three formats of URL:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;.NET specific application relative URL. This format starts with "~" character, for instance, "~/FolderA/Page1.aspx".&lt;/li&gt;&lt;li&gt;Absolute URL. This format starts with "/" character, for instance, "/SharedModule/Page1.aspx".&lt;/li&gt;&lt;li&gt;Relative URL. This format usually starts with "." character or no special characters (which assume the page can be found in the current folder's context).&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;You can configure different ContentMode for each TabItem. To apply all TabItem to use a specific ContentMode, configure the ContentMode in WebTab &lt;strong&gt;control level&lt;/strong&gt; and leave TabItem's ContentMode to &lt;strong&gt;Default&lt;/strong&gt;.&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 more detail information, please kindly check the WebDesktop documention, specifically in WebTab section.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add Tabitem load ascx</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Tabitem-ascx/</link><pubDate>Tue, 01 Nov 2011 15:05:49 GMT</pubDate><dc:creator>PatriciaGomes</dc:creator><category>Add Tabitem load ascx</category><description>&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;I would like to add dynamically a tab and I would like to load an ascx (or aspx) on tab.&lt;/p&gt;
&lt;p&gt;How can I do this ??&lt;/p&gt;</description></item></channel></rss>