How can i make sure that only the usercontrol is loaded of the tab that is currently selected.
I'm using an ultrawebtab with an usercontrol in each tab (controlss statically placed). It's the same usercontrol but the state differs based on the selected tab.
But i found that when i click on a tab, all the usercontrols are loaded. I configured the webtab as asyncmode=on with the option RequestContext= IncludeFormData & ResponseContext=IncludeSelectedTab
I expected that with these settings only the controls on the active tab would be loaded. How do i configure the webtab to get this behaviour?
Thanks.
HI,
Why dont you put your usercontrols into a aspx page. Then set the Tab's Targeturl to that page. then set the UltraWebTab's LoadAllTargetUrls to false.
Here is a help link to the UltraWebTab Class Members:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Infragistics2.WebUI.UltraWebTab.v8.1~Infragistics.WebUI.UltraWebTab.UltraWebTab_members.html
Load all TargetUrls assigned to tabs at the time when page is loaded or keep loaded only one TargetUrl for the active/selected tab.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Infragistics2.WebUI.UltraWebTab.v8.1~Infragistics.WebUI.UltraWebTab.UltraWebTab~LoadAllTargetUrls.html