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
235
Web tab Size
posted

Hi,

i m using web tab control 2012, i want to set ContentTabItem heigh as per my ContentUrl page height , i m creating new tab at rune time,

also i want to remove all  tab  accept main tab , Please help me

this is my code to create new Tab


var webTab = $find("<%= WTBVisitsdtl.ClientID%>");

webTab.addTab("PageDtl", 'WebPage1.aspx', false);

webTab.height ="592px"

webTab.set_selectedIndex(webTab.get_tabs().length - 1);

Parents
No Data
Reply
  • 7570
    posted

    Hello rajan_kajrolkar,

    Thank you for contacting Infragistics!

    I may need more information regarding the behavior you wish to achieve.

    On the other hand, it is possible to synchronize the the WebTab's height and keep the tab items of each tab visible, as suggested in the following forum thread:

    http://es.infragistics.com/community/forums/p/68816/348339.aspx

    Currently, removing tabs on the clientside is not supported as it will not be possible to maintain view states of the old tabs. We may, on the other hand have two options:

    1. Remove the Tab on the server side as follows:

         this.WebTab1.Tabs.Remove(tab);

    2. Hiding the Tab is currently possible on the clientside:

         tab.set_hidden(true);

    For more details, please refer to the following fortum thread:

    http://es.infragistics.com/community/forums/p/71211/363395.aspx

    I hope this helps.

    If you have any questions, please let me  know as well.

    Looking forward to your reply.

     

     

Children