Hello
I am using a WebTab and I have a usercontrol as the content. In FireFox, the content shows up to the right of the last tab along the same horizontal plane as opposed to beneath the header or beneath the contentTabItems (ie. It isn't under a tab but to the right of the last tab). For the webTab, I have the following properties:
Height="100%"
Width="100%"
TabLocation="TopLeft"
TabOrientation="Horizontal"
EnableOverlappingTabs="false"
Please help, thanks.
Hi paychoice.
I investigated your scenario but was unable to replicate the issue you have described using .NetAdvantage 11.1 and Firefox 6. In order to investigate this further I would need to know your product and browser version. A sample where the matter can be reproduced would be greatly appreciated, as obviously I have no information about the userControl that you are employing.
Please do not hesitate to contact me with any questions.
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Hi Peter
I am currently using infragistics version 11.1.20111.2036 and firefox version 6.0.2. The issue has to do with float:left in my style for a selected and deselected contentTabItem. When I set the style to float:left, I get the desired look in every browser except firefox. When I remove float:left and look in firefox, the tabs don't display correctly ... I have two tabs ... the 1st is always visible, the second is initially hidden and then based on some action I populate the second with a user control and make it visible. So when I remove float:left and use firefox, the 2nd tab appears in the 1st position (to the far left) and the 2nd tab appears to right of that but between the text and the close button for the 2nd tab (which should appear second but appears first). Having the style float:left is essential as the tabs don't look correct in any other browser if I don't set it. I can send you a screen shot if you like. I'll try to write a small program, but in order for me to mimic the behavior, it would have to be slightly detailed.
Hi paychoice,
I have done some more research but am still not encountering any issues with Firefox. I am attaching the sample used for testing (the default CSS settings were used).
A screenshot would be helpful in identifying the issue.
I will keep you posted with any updates.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
I am following up to check whether you are still experiencing issues. Please do not hesitate to contact me if you need assistance.
Actually through using some of your style sets and playing with the styles I have achieved the look I want. I do have another question/issue though ... I have a WebTab and add 2 contentTabItems to it at design time, I define the content for 1 and set it visible at design time as well ... the other I set to invisible and define the content at runtime. I essentially click a link and the second tab is made visible, but I would also like it to have focus/be selected. I have have set it to the selecteTab and have set the focus property to true but the first tab is still selected. Thanks.
Hi ContInt,
If I am understanding correctly, making your second tab visible will happen server server-side. In order to select the respective tab after making it visible, you can set the SelectedIndex property of the tab:
WebTab1.SelectedIndex = 1;
Note that you can also show/select tabs client-side:
ig_controls.WebTab1.getTabAt(1).set_hidden(false); ig_controls.WebTab1.set_selectedIndex(1);
Please tell me if this helps.
That's what I was trying to explain in my prior post. I have tried both client and server side solutions and neither work.
Apologies for the late response. If you are still experiencing any issues please feel free to contact me.
Thank you for your reply. Apologies as I have obviously misunderstood you. I am continuing my investigation on your scenario and will keep you posted with any updates.