Hello .
Using Infragistics 2011 Vol.2
I am switching from the classic igtab:UltraWebTab control to the new ig:WebTab control
Please allow me a newbie question: where is the TabSeparator ?
I want to migrate exactly the current appearance , screen capture is attached.
I am reading the local help installed on my computer and the discussions here too,but any help is appreciated.
Thank you
P.S. Meanwhile I have found the answer myself by looking around this forum
The C# MarginTrailing Property get/sets margin between this tab item and next.
That defines space/separator between tab items.
Can this property be set in .css ?
Hi mateia,
Thank you for posting in the community.
Separators may be set in WebTab through CSS by setting the CSSClass in the TabCSSClasses of a tab. For instance:
<style type="text/css"> .addMargin { margin-left:10px; margin-right:10px; } </style> <ig:ContentTabItem runat="server" Text="Tab 3" > <TabCssClasses CssClass="addMargin" /> </ig:ContentTabItem>
<style type="text/css"> .addMargin { margin-left:10px; margin-right:10px; } </style>
<ig:ContentTabItem runat="server" Text="Tab 3" > <TabCssClasses CssClass="addMargin" /> </ig:ContentTabItem>
Please let me know if this helps.