﻿<?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 - Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</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>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Fri, 20 May 2011 03:02:46 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;update WebDesktop to the newest version solve the issue. Thanks for help&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Tue, 17 May 2011 22:42:45 GMT</pubDate><dc:creator>lili</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The sample works fine on my end. I attach the video of how I run the sample on my end. I made the sample using WebInput version 4.0.7200.28 and WebDekstop version 3.0.7200.334. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili Khiung&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Mon, 16 May 2011 04:17:54 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;Hi Lili,&lt;/p&gt;
&lt;p&gt;unfortunately the sample doesn't work well. There is a null reference exception when i try read from WebInput, because FindControl return null instead WebInput control. When i don't try read the value just empty onCilick method, the value in WebInput disappear after postback that may cause this problem. If i try read a value that way:&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;TabItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; template = (&lt;/span&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;TabItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;)tabItem.PageTemplate;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; s = template.Wi.Text;&lt;/span&gt;

&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;s is&amp;nbsp; alwasy null whatever i input. &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Mon, 16 May 2011 01:55:03 GMT</pubDate><dc:creator>lili</dc:creator><description>&lt;p&gt;Hi Michal,&lt;/p&gt;
&lt;p&gt;You can use the FindControl function to access to the WebInput value. Here I attach the simple sample to read the WebInput value. Hope it helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili Khiung&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Fri, 13 May 2011 08:16:39 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;I aslo created TabPage Content programmatically but i don't know how to read a value from WebInput that i put into TabPage, the value dissaper after postback. I enclose a simple sample i want to read web input value after a webbutton is clicked.&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Thu, 07 Jan 2010 11:27:24 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;That did the trick, Andi! Thank you very much.&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Thu, 07 Jan 2010 05:09:47 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Scott,&lt;/p&gt;&lt;p&gt;      Thank you for the code that provided. It almost right, but the problem is that we need to add the TabPages first to the WebTab before we try to put a page template and combine them.&lt;/p&gt;
&lt;p&gt;      For futher information, I attached you my running sample code for you. I hope it helps, thank you.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Andi Santoso&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Thu, 07 Jan 2010 02:21:59 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;That's why I tried to do in my sample project but it did not work. The tab was created but the content area is blank.&lt;/p&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Thu, 07 Jan 2010 01:02:59 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p /&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hello Scott,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Yes, actually we do have the example of WebTab using Inline Content mode with a content inside. You may check in on our sample at WebDesktop\WebTab\PopulatingTabContentProgrammatically.aspx.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;I hope it helps and please, let me know if you have any other questions, thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Example of programmatically creating WebTab with content on server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Example-of-programmatically-creating-WebTab-with-content-on-server-side/</link><pubDate>Wed, 06 Jan 2010 19:26:00 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do any examples exist that illustrate how to programmatically create a WebTab along with content inside the tab body area? I put together this test project using samples provided by Intersoft as a guide. I am wondering why there is no content being created inside the actual tab PageTemplate. The tabs themselves are created but are empty. If anyone has any guidance or example how to accomplish this please let me know. I tried in the past but couldn't figure it out and ended up just using iframes linking to another external page. In this case we need to use inline HTML that will be created on the server side.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;EDIT: Re-attached sample project.&lt;/p&gt;</description></item></channel></rss>