Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
885
Converting UltraWebTab to WebTab?
posted

Hi,

     I am converting my Ultrawebtab to Webtab (2011 Vol1). I have a menu and a tab in a page. When i click on a menu i will open a new tab. I have created 5 dummy tabs for which the ContentURL is empty and it will be hidden when the page is loaded first. Depending on the menu item i click i will set the text, image and ContentURL for it in client-side. I have the following questions

   1) I am able to set the values for the Text and ContentURL but i am not able to set imageurl in client-side. How to do it?

   2) If i click on a menu item, i am first checking whether a tab for that Menu is already opened (or) not. If it is opened, then i will give focus to that tab by setting the value of selected index for that tab. When the focus is set to that tab, the content in that tab gets refreshed. This should not happen. How to avoid postback?.

  3) How do i access the a text box value present within the tab control from the parent page where the tab is hosted?

Code:

<ig:WebTab ID="tabWO" runat="server" Height="100%" Width="100%" EnableAjaxViewState="False" DisplayMode="Scrollable">

<tabs>

<ig:ContentTabItem runat="server" Text="Sample" BorderStyle="None" ScrollBars="Hidden" ContentUrl="Sample.aspx" Font-Names="Verdana" Font-Size="8pt">

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="Sample1" BorderStyle="None" ContentUrl="Sample1.aspx" Font-Names="Verdana" Font-Size="8pt">

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="" Hidden="true" BorderStyle="None" ScrollBars="Scroll" ContentUrl="" Font-Names="Verdana" Font-Size="8pt" >

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="" Hidden="true" BorderStyle="None" ScrollBars="Scroll" ContentUrl="" Font-Names="Verdana" Font-Size="8pt" >

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="" Hidden="true" BorderStyle="None" ScrollBars="Scroll" ContentUrl="" Font-Names="Verdana" Font-Size="8pt" >

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="Dummy" Hidden="true" BorderStyle="None" ScrollBars="Scroll" ContentUrl="" Font-Names="Verdana" Font-Size="8pt" >

</ig:ContentTabItem>

<ig:ContentTabItem runat="server" Text="Dummy" Hidden="true" BorderStyle="None" ScrollBars="Scroll" ContentUrl="" Font-Names="Verdana" Font-Size="8pt" >

</ig:ContentTabItem>

</tabs>

<PostBackOptions EnableLoadOnDemand="false" EnableReloadingOnTabClick="false" />

</ig:WebTab>

 

 

Thanks,

Raja.

Parents Reply Children