www.webdeveloper.com
Results 1 to 3 of 3

Thread: Tab content not visible

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Tab content not visible

    Hi all,

    I have a web based application in .NET with multiple tabs created using javascript. Those tabs take their content from different div's that are created.
    Now I am thinking of switching the Ist and the second tabs. However, when I do so by changing the index of the div's in the tab array, I am surprised to see that the Ist tab does not display anything. Everything has disappeared. I have tried multiple things to no success.

    Please help me as soon as possible as I need to do it urgently.

    Thanks,

    Abhishek.

  2. #2
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,380
    It is difficult to determine if we can be of any help without some existing code.

    Show what do you have now, what exactly do you want to change and what errors are you getting.

  3. #3
    Join Date
    Jul 2012
    Posts
    2

    Code

    Please use the below mentioned code for the tab I'm trying to fix the issue.

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WUCBspIntroductionEdit.ascx.cs"
    Inherits="BSP_Authorization_WUCBspIntroductionEdit" %>

    <asp:Panel ID="panExceptions" runat="server" Width="100%">

    <table class="BspGeneralMessage">
    <tr>
    <td>
    <span>This section is intended to determine xxxx</span>
    </td>
    </tr>
    </table>
    <table id="Exemptions" cellspacing="0px" border="0" style="width:100%">
    <tr>
    <td>2.1&nbsp; </td>
    <td colspan="3"><span>Do you work solely with the following xxxx?</span></td>
    <td Width=100px>
    <asp:RadioButton ID="rbtnYes" runat="server" AutoPostBack="True" GroupName="2.1"
    OnCheckedChanged="rbtnNo_CheckedChanged" Text="Yes" />
    <asp:RadioButton ID="rbtnNo" runat="server" AutoPostBack="True" GroupName="2.1" OnCheckedChanged="rbtnNo_CheckedChanged"
    Text="No" /></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign=top>1.&nbsp; </td>
    <td colspan="3">abcd</td>
    <td>&nbsp;</td>

    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td valign=top>a.&nbsp; </td>
    <td colspan="2">pqrs</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td valign=top>b.&nbsp; </td>
    <td colspan="2">qwer</td>
    <td>&nbsp;</td>
    </tr>


    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td style="width: 838px">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign=top>2.&nbsp; </td>
    <td colspan="3">zxcv</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td style="width: 838px">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign=top>3.&nbsp; </td>
    <td colspan="3">asdf</td>
    <td>&nbsp;</td>
    </tr>

    </table>


    </asp:Panel> //Me
    <asp:Panel ID="panExempt" runat="server">
    <table id="Exempt" border="0" style="margin-top: 10px; width: 100%;" cellspacing="0px">
    <tr>
    <td colspan="3" style="font-size: large" align="center">
    Exemptions</td>
    </tr>
    <tr>
    <td colspan="3">
    Based on your answers in the previous section, you DO NOT have to complete the form
    </td>
    </tr>
    <tr>
    <td colspan="3">
    Refer to the link below to access the plan</td>
    </tr>
    <tr>
    <td colspan="3">
    <a href='<%= CONTROL_PLAN_HREF%>' target="_blank" class="WindowDefault">
    <%= CONTROL_PLAN_CONTENT%>
    </a></td>
    </tr>
    </table>
    </asp:Panel> //Me
    <asp:Panel ID="panIntroduction" runat="server">
    <table><tr>
    <td style="width: 7px">
    &nbsp;</td>
    <td>
    <a href='<%= CONTROL_PLAN_HREF%>' target="_blank" class="WindowDefault">
    <%= CONTROL_PLAN_CONTENT%>
    </a>
    </td>
    <td>
    &nbsp;</td>
    </tr></table>
    <div style="padding-left: 10px; padding-top: 20px; padding-left: 10px;">
    <h2 style="color: #000000; text-align: center">
    Lilly Biological Agent Registration System
    </h2>
    <table width="100%" align="left">
    <tr>
    <td>
    &nbsp;<br />

    <font style="font-weight:bold; font-size:12px;">In order to avoid unnecessary delays in the review process, please read the following
    information carefully before you begin.</font><br />
    &nbsp;<br />
    The CDC <em>Biosafety in dsfdfsdf</em>
    fddghdghhdwr&nbsp;&nbsp;
    &nbsp;<br />
    &nbsp;<br />
    The <em>dsdfsdfsdf</em> describe the responsibilities of an investigator and provides
    dsdfsdfsd<br />
    &nbsp;<br />
    Links to these references are:
    <br />
    <br />
    <ul>
    <li>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<a href="<%= BIOSAFETYPROTOCOL_HREF %>" target="_blank" class="WindowDefault"><%= BIOSAFETYPROTOCOL_CONTENT%></a></li><li>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<a href="<%= HEALTHGUIDE_HREF %>" target="_blank" class="WindowDefault"><%= HEALTHGUIDE_CONTENT%></a><br />
    </li>
    </ul>
    <br />
    fddfsdsf&nbsp; dfdfsdsf.&nbsp; sdfsdfdfsdsf &nbsp;
    <font style=" font-style:italic; font-weight:bold;">It is the Principal Investigator's (PI) responsibility to ensure that this form
    is correctly completed and all information is correct.</font> &nbsp;<br />
    &nbsp;<br />
    My policy
    &nbsp; sdggsgfgfgfgd&nbsp;
    sghsffsfgfgfg<br />
    &nbsp;<br />
    sdgsdgsdgsgdsgd<br />
    &nbsp;<br />
    sgsdgsdgsdgsdg
    .<br />
    &nbsp;<br />
    <a href='<%= BIOSAFETY_HREF %>' target="_blank" class="WindowDefault">
    <%= BIOSAFETY_CONTENT%>
    </a>
    </td>
    </tr>
    </table>
    </div>

    </asp:Panel>
    <br />
    <div>
    <font style="font-weight:bold; font-size:12px;">NOTE: You will have to complete the Form if:
    You work with fghghghgf</font></div>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles