Tabs missing

2 posts, 0 answers
  1. Robert
    Robert avatar
    7 posts
    Member since:
    Oct 2010

    Posted 18 Feb 2013 Link to this post

    Hi

    Can anyone tell me whats missing from my markup that is causing 2 out of my 3 tabs not to appear when i load the page up please. I have spent some time trying to figure this out and I cannot find the reason.

    <%

     

    @ Page Title="" Language="C#" MasterPageFile="~/AppMaster.master" AutoEventWireup="true"

     

     

     

    CodeFile="StoresCards.aspx.cs" Inherits="StoresCards" StylesheetTheme="Default" %>

     

    <%

     

    @ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"

     

     

     

    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

     

    <

     

     

    asp:Content ContentPlaceHolderID="mainCopy" runat="Server">

     

     

     

     

    <telerik:RadScriptManager ID="RadScriptManager2" runat="server" />

     

     

     

    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

     

     

     

    <script type="text/javascript">

     

     

     

    var currentLoadingPanel = null;

     

     

     

    var currentUpdatedControl = null;

     

     

     

    function RequestStart(sender, args) {

     

    currentLoadingPanel = $find(

     

    "<%= RadAjaxLoadingPanel1.ClientID%>");

     

     

     

    var button = document.getElementById("<%= btSubmitStockCards.ClientID %>");

     

     

     

    if (args.get_eventTarget() == "<%= btSubmitStockCards.UniqueID %>") {

     

    batchno.readonly =

     

    true;

     

    sapno.readonly =

     

    true;

     

    button.disabled =

     

    true;

     

    }

     

     

    //show the loading panel over the updated control

     

    currentLoadingPanel.show(currentUpdatedControl);

    }

     

     

    function ResponseEnd() {

     

     

     

    //hide the loading panel and clean up the global variables

     

     

     

    if (currentLoadingPanel != null) {

     

    currentLoadingPanel.hide(currentUpdatedControl);

    }

    currentUpdatedControl =

     

    null;

     

    currentLoadingPanel =

     

    null;

     

     

    button.disabled =

     

    false;

     

    }

     

     

     

    var keynum, lines = 1;

     

     

     

    function limitLines(obj, e) {

     

     

     

    // IE

     

     

     

    if (window.event) {

     

    keynum = e.keyCode;

     

     

    // Netscape/Firefox/Opera

     

    }

     

    else if (e.which) {

     

    keynum = e.which;

    }

     

     

    if (keynum == 13) {

     

     

     

    if (lines == obj.rows) {

     

     

     

    return false;

     

    }

     

    else {

     

    lines++;

    }

    }

    }

     

     

     

     

    </script>

     

     

     

    </telerik:RadCodeBlock>

     

     

     

     

    <div id="content-mainnav">

     

     

     

    <asp:Literal runat="server" ID="litHeader"></asp:Literal>

     

     

     

    </div>

     

     

     

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

     

     

     

    <AjaxSettings>

     

     

     

    <telerik:AjaxSetting AjaxControlID="btGetPalletDetails">

     

     

     

    <UpdatedControls>

     

     

     

    <telerik:AjaxUpdatedControl ControlID="gvStockCards" LoadingPanelID="RadAjaxLoadingPanel1" />

     

     

     

    <telerik:AjaxUpdatedControl ControlID="RadWinStockCard" />

     

     

     

    </UpdatedControls>

     

     

     

    </telerik:AjaxSetting>

     

     

     

    <telerik:AjaxSetting AjaxControlID="gvStockCards">

     

     

     

    <UpdatedControls>

     

     

     

    <telerik:AjaxUpdatedControl ControlID="RadWinStockCard" />

     

     

     

    </UpdatedControls>

     

     

     

    </telerik:AjaxSetting>

     

     

     

    </AjaxSettings>

     

     

     

    <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

     

     

     

    </telerik:RadAjaxManager>

     

     

     

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" />

     

     

     

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behavior="Default" InitialBehavior="None">

     

     

     

    <Windows>

     

     

     

    <telerik:RadWindow ID="RadWinStockCard" runat="server" Behavior="Default" InitialBehavior="None"

     

     

     

    Width="860" Height="670" VisibleOnPageLoad="false">

     

     

     

    </telerik:RadWindow>

     

     

     

    </Windows>

     

     

     

    </telerik:RadWindowManager>

     

     

     

    <telerik:RadTabStrip runat="server" ID="tabStoresCards" SelectedIndex="1" Skin="Forest" MultiPageID="mpStoresCards">

     

     

     

    <Tabs>

     

     

     

    <telerik:RadTab PageViewID="pgStock" runat="server" Text="Stock" Font-Bold="true">

     

     

     

    </telerik:RadTab>

     

     

     

    <telerik:RadTab PageViewID="pgQaurantinedStock" runat="server" Text="Qaurantined Stock" Font-Bold="true">

     

     

     

    </telerik:RadTab>

     

     

     

    <telerik:RadTab PageViewID="pgAwaitingInspection" runat="server" Text="Awaiting Inspection" Font-Bold="true">

     

     

     

    </telerik:RadTab>

     

     

     

    </Tabs>

     

     

     

    </telerik:RadTabStrip>

     

     

     

    <telerik:RadMultiPage ID="mpStoresCards" runat="server" SelectedIndex="1">

     

     

     

    <telerik:RadPageView ID="pgStock" runat="server" Selected="true" CssClass="FormPanel">

     

     

     

    <div>

     

     

     

    <h2>

     

     

     

    <asp:Label ID="lblStock" runat="server" Style="font-weight: 700; text-align: center">Stock</asp:Label>

     

     

     

    </h2>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblPartNoStock" runat="server" CssClass="FormLabel FormLabelSmall">Part No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPartNoStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblQuantityStock" runat="server" CssClass="FormLabel FormLabelSmall">Quantity.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtQtyStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnBig">

     

     

     

    <asp:Label ID="lblStockDescription" runat="server" CssClass="FormLabel FormLabelBig">Description</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtStockDescriptionStock" runat="server" TextMode="MultiLine" Width="563px"

     

     

     

    Height="50px" MaxLength="500">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblPONoStock" runat="server" CssClass="FormLabel FormLabelSmall">P.O.No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPONoStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblLineNoStock" runat="server" CssClass="FormLabel FormLabelSmall">Line No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtLineNoStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblDeliveryNoteNoStock" runat="server" CssClass="FormLabel FormLabelSmall">Delivery Note No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDeliveryNoteNoStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblNoPalletsStock" runat="server" CssClass="FormLabel FormLabelSmall">Number of Pallets.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtNoPalletsStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <telerik:RadButton ID="btSubmitStockCards" Text="Print" runat="server" OnClick="btSubmitStockCards_Click">

     

     

     

    </telerik:RadButton>

     

     

     

    </div>

     

     

     

    </telerik:RadPageView>

     

     

     

    <telerik:RadPageView ID="pgQaurantinedStock" runat="server" CssClass="FormPanel">

     

     

     

    <div>

     

     

     

    <h2>

     

     

     

    <asp:Label ID="lblQuarantinedStock" runat="server" Style="font-weight: 700; text-align: center">Quarantined Stock</asp:Label>

     

     

     

    </h2>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblPartNoQStock" runat="server" CssClass="FormLabel FormLabelSmall">Part No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPartNoQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblQauntityQStock" runat="server" CssClass="FormLabel FormLabelSmall">Quantity.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtQuantityQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblDateQStock" runat="server" CssClass="FormLabel FormLabelSmall">Date.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDateQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnBig">

     

     

     

    <asp:Label ID="lblDescriptionQStock" runat="server" CssClass="FormLabel FormLabelBig">Description</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDescriptionQStock" runat="server" TextMode="MultiLine" Width="563px" Height="50"

     

     

     

    MaxLength="500">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnBig">

     

     

     

    <asp:Label ID="lblDefectReason" runat="server" CssClass="FormLabel FormLabelBig">Defect/Reason</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDefectReason" runat="server" TextMode="MultiLine" Width="563px" Height="50"

     

     

     

    MaxLength="500">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblPONoQStock" runat="server" CssClass="FormLabel FormLabelSmall">P.O.No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPONoQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblLineNoQStock" runat="server" CssClass="FormLabel FormLabelSmall">Line No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtLineNoQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblNoPalletsQStock" runat="server" CssClass="FormLabel FormLabelSmall">Number of Pallets.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtlblNoPalletsQStock" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <telerik:RadButton ID="btQStock" Text="Print" runat="server">

     

     

     

    </telerik:RadButton>

     

     

     

    </div>

     

     

     

    </telerik:RadPageView>

     

     

     

    <telerik:RadPageView ID="pgAwaitingInspection" runat="server" CssClass="FormPanel">

     

     

     

    <div>

     

     

     

    <h2>

     

     

     

    <asp:Label ID="lblAwaitingInspection" runat="server" Style="font-weight: 700; text-align: center">Awaiting Inspection</asp:Label>

     

     

     

    </h2>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblPartNoInspect" runat="server" CssClass="FormLabel FormLabelSmall">Part No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPartNoInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblQuantityInspect" runat="server" CssClass="FormLabel FormLabelSmall">Quantity.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtQuantityInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnBig">

     

     

     

    <asp:Label ID="lblDescriptionInspect" runat="server" CssClass="FormLabel FormLabelBig">Description</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDescriptionInspect" runat="server" TextMode="MultiLine" Width="563px"

     

     

     

    Height="50" MaxLength="500">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblDateInspect" runat="server" CssClass="FormLabel FormLabelSmall">Date.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtDateInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblPONoInspect" runat="server" CssClass="FormLabel FormLabelSmall">P.O.No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtPONoInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <asp:Label ID="lblLineNoInspect" runat="server" CssClass="FormLabel FormLabelSmall">Line No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtLineNoInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblDeliveryNoteNoInspect" runat="server" CssClass="FormLabel FormLabelSmall">Delivery Note No.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtlblDeliveryNoteNoInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="oneColumnSmall">

     

     

     

    <asp:Label ID="lblNoPalletsInspect" runat="server" CssClass="FormLabel FormLabelSmall">Number of Pallets.</asp:Label>&nbsp;<telerik:RadTextBox

     

     

     

    ID="txtNoPalletsInspect" runat="server">

     

     

     

    </telerik:RadTextBox>

     

     

     

    </div>

     

     

     

    <div class="twoColumnSmall">

     

     

     

    <telerik:RadButton ID="btAwaitInspect" Text="Print" runat="server">

     

     

     

    </telerik:RadButton>

     

     

     

    </div>

     

     

     

    </telerik:RadPageView>

     

     

     

    </telerik:RadMultiPage>

     

    </

     

     

    asp:Content>

     



    Many thanks

    Rob
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 21 Feb 2013 Link to this post

    Hello Robert,

    I have inspected the provided snippet of code and it seems to work properly at our end. Here is a video, demonstrating the behavior. In addition, I am attaching the sample, which I had tested with.
    Please correct me if I am doing anything wrong. Note that dll files are removed.

    I am looking forward for your reply.

    Greetings,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top