Hi,
I have a control on a page which contains 3 tabs. Personal info, Contact info, Payment info. Each tab content will be an aspx page. Wen I set the content target url to each page it works all fine. Only issue that I have is the height.
I made the tab.Height = Unit.Empty at page load so the tab will expand if the content is a user control. When I have the aspx page as a content it puts a scroll bar. I really wanted to show the whole page under each tab instead of half a page with scroll bar. Is there anyway to achieve this?
Add to that, I have page a master page which I have speicified a table hegiht which will contain a tab control. Now the tab control has a user control which contains ultrawebgrid. Now set up the tab and the grid heigh to Unit.Empty. Again it works fine the tab and the grid, but it came out of the page height definded. I have body with black background and the content page with white background. I really thought the page will expand on its own but it didn't. Is there any way to handle this?
Any suggestion would be appriciated.
Thank you.
How will you set the target url? There is no propery called Targeturl. It has only DummyTargetURL and LoadAllTargetUrl? Are both these same? Please reply
I have a similar issue as well. Here is a snippet of my aspx code ...
<igtab:UltraWebTab ID="uwtHSClient" runat="server" EnableAppStyling="True" StyleSetName="Office2007Blue" AsyncMode="On" AutoPostBack="True" Section508Compliant="True"> <Tabs> <igtab:Tab Text="Health Stations" Key="modHS" AsyncOption="LoadOnDemand"> <ContentTemplate> <div class="outerTable"> Insert Nice WebGrid Here! </div> </ContentTemplate> </igtab:Tab> <igtab:TabSeparator> </igtab:TabSeparator> <igtab:Tab Text="Statistics" Key="modStats"> <ContentPane TargetUrl="/HSClient/modStats.aspx"> </ContentPane> </igtab:Tab> </Tabs> <AsyncOptions RequestContext="IncludeAllTabs" ResponseContext="IncludeSelectedTab" Triggers="SelectedTabChanged" /> </igtab:UltraWebTab>
... the first tab renders correctly, but the second tab resizes to a 150 x 300 px box.
I set the style on the target page as Viktor suggested and still have the problem.
Any suggestions?
To handle height of page under XHTML doctype you may use 90..100% height for all containers including form, body and html objects. Example:
<form id="form1" runat="server" style="height:100%;">