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
4110
WebTab with Placeholders
posted

I have a basic WebTab with 4 tabs. I am trying to use a Placeholder in a tab that references an .ascx user control that has a simple non-editable WebDataGrid in it. The problem is the placeholder content is displayed AFTER the WebTab control, not in the approprate tab. Is there a special way to handle placeholders in a WebTab or can you not do this? Thanks much. I've reviewed the online samples, but they don't help with this issue. I am using IE8 and Visual Studio 2008 with Infragistics 10.3.20103.2134 controls.

Parents
  • 8160
    posted

    Hello dbishop9,

    I tried to reproduce this but it is working fine with  Infragistics 10.3.20103.2134 and IE8.
    Here is what I tested:

    Default.aspx

    <ig:WebTab ID="WebTab1" runat="server" Height="200px" Width="300px">

            <tabs>

                <ig:ContentTabItem runat="server" Text="Tab 1">

                    <Template>

                        <asp:PlaceHolder ID="PlaceHolder1" runat="server">

                            <uc1:WebUserControl ID="WebUserControl1" runat="server" />

                        </asp:PlaceHolder>

                    </Template>

                </ig:ContentTabItem>

                <ig:ContentTabItem runat="server" Text="Tab 2">

                    <Template>

                        <asp:PlaceHolder ID="PlaceHolder2" runat="server">

                            <asp:HyperLink ID="HyperLink2" runat="server">HyperLink</asp:HyperLink>

                        </asp:PlaceHolder>

                    </Template>

                </ig:ContentTabItem>

            </tabs>

        </ig:WebTab>

     

     

    WebUserControl.ascx

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs"

        Inherits="WebUserControl" %>

    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="www.infragistics.com">Infragistics</asp:HyperLink>

    Please tell me if I missed something

Reply Children