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);
Hello rajan_kajrolkar,
I am just following up and see if you have any questions.
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.