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
515
Problem with Web Tab
posted

Hi,

  I am facing an issue with the infragistic web tab in version 8.3

The issue is when i change orientation to "right to left"(t to l) the tab images get distorted.

Can any one help me with this?

this is how it looks like when the direction is changed.

 

 

  • 28407
    Suggested Answer
    posted

    HI , I wasnt able to reproduce your issue.

    Here is my aspx page:

    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

    <%@ Register assembly="Infragistics2.WebUI.UltraWebTab.v8.3, Version=8.3.20083.2059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebTab" tagprefix="igtab" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
       
            <igtab:UltraWebTab ID="UltraWebTab1" runat="server" BorderColor="Gray"
                BorderStyle="Solid" BorderWidth="1px" ThreeDEffect="False">
                <Tabs>
                    <igtab:Tab Text="tab 0">
                        <ContentTemplate>
                            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
                        </ContentTemplate>
                    </igtab:Tab>
                    <igtab:Tab Text="tab 1">
                    </igtab:Tab>
                    <igtab:Tab Text="tab 2">
                    </igtab:Tab>
                    <igtab:Tab Text="tab 3">
                    </igtab:Tab>
                </Tabs>
                <RoundedImage FillStyle="LeftMergedWithCenter" NormalImage="ig_tab_lightb1.gif"
                    SelectedImage="ig_tab_lightb2.gif" />
                <DefaultTabStyle BackColor="WhiteSmoke" Height="20px">
                </DefaultTabStyle>
            </igtab:UltraWebTab>
       
        </div>
        </form>
    </body>
    </html>

    Code-behind

    using System;
    using System.Configuration;
    using System.Data;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;

    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (UltraWebTab1.TabOrientation == Infragistics.WebUI.UltraWebTab.TabOrientation.TopLeft)
                UltraWebTab1.TabOrientation = Infragistics.WebUI.UltraWebTab.TabOrientation.TopRight;
            else UltraWebTab1.TabOrientation = Infragistics.WebUI.UltraWebTab.TabOrientation.TopLeft;
        }
    }