iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
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.
Thanks in advance!
EDIT: Re-attached sample project.
Hi Scott,
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.
For futher information, I attached you my running sample code for you. I hope it helps, thank you.
Best Regards,
Andi Santoso
update WebDesktop to the newest version solve the issue. Thanks for help
Hello Scott,
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.
I hope it helps and please, let me know if you have any other questions, thank you.
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.
That did the trick, Andi! Thank you very much.
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.
Hi Michal,
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.
Regards,
Lili Khiung
Hi Lili,
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:
s is alwasy null whatever i input.
Hi,
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.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname