www.webdeveloper.com
Results 1 to 3 of 3

Thread: Controls not displaying

  1. #1
    Join Date
    Jun 2012
    Posts
    58

    Controls not displaying

    I'm not sure if this is where I should put this but I need help so here it goes.

    I have an asp.net page that worked fine a couple of months ago but when I tried to run it today the header won't show up. However, it does show in the source when I view source.

    There is something that is different but I can't tell because I have not touched the code since it was working.

    Code:
    <!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>
    		<title>Floorplan Manager</title>
    		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" />
    		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1" />
    		<meta name="vs_defaultClientScript" content="JavaScript" />
    		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
            <link href="FloorPlan.css" rel="stylesheet" type="text/css" />
            <link href="FloorPlan_Print.css" rel="stylesheet" type="text/css" media="print" />
       
        </head>
     
            
    	<body style="background-image: none; background-color: White" class="floormgr" bgcolor="#FFFFFF" text="#000000">
            <div style="position:absolute;left:800px;top:120px;z-index:6666;border:1px;border-color:Blue">
                <table width="100" border="0" cellspacing="0" cellpadding="0">
                    <tr align="center">
                        <td colspan="2"><b>LEGEND</b></td>
                    </tr>
                    <tr>
                        <td align="right" width="22">&nbsp;</td>
                        <td align="left" width="78">&nbsp;</td>
                    </tr>
                    <tr> 
                        <td align="right" width="22">&nbsp;</td>
                        <td align="left" width="78" bgcolor="#FFFFFF"><font color="Green">Partner</font></td>
                    </tr>
                    <tr> 
                        <td align="right" width="22">&nbsp;</td>
                        <td align="left" width="78"><font color="Purple">Associate</font></td>
                    </tr>
                    <tr> 
                      <td align="right" width="22">&nbsp;</td>
                      <td align="left" width="78"><font color="Brown">Storage</font></td>
                    </tr>
                    <tr> 
                        <td align="right" width="22">&nbsp;</td>
                        <td align="left" width="78"><font color="Blue">Other</font></td>
                    </tr>
                </table>
            </div>	
            <!--- DIV for the Popup Menu -->
            <div id="ContextMenu" style="z-index:25000;display:none;position:absolute">
                <table width="80" border="1" cellspacing="0" cellpadding="2">
                    <TR>
                        <TD id="ContextMenuTitle" class="contextmenutitle" NOWRAP></TD>
                    </TR>
                    <tr>
                        <td id="ContextItem_1" class="contextmenuoff" onmouseover="this.className='contextmenuon'" onmouseout="this.className='contextmenuoff'" onclick="onContextEdit();">Edit</td>
                    </tr>
                    <tr>
                        <td id="ContextItem_2" class="contextmenuoff" onmouseover="this.className='contextmenuon'" onmouseout="this.className='contextmenuoff'" onclick="onContextDelete();">Delete</td>
                    </tr>
                </table>
            </div>	
            <!----- DIV for the Status Messages -->
          <div class="statuspopup" style="top:100px;left:100px;z-index:2000;visibility:hidden" id="StatusPopup"></DIV>
          <form name="formFloorPlan" method="POST" action="FloorMgr_Cleaned.aspx" id="formFloorPlan">
     
     
     
    <div>
     
    	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWFALxlLOSBwK5irzNBQKct7iSDAKqpZr7CgLgtLSlDQLiudX3DwLh5JP6CwKx06y/BALdvsCODwL6nNuhBgKl4bvQAwLS9pLoCALcj421DwKFvtDlAwLZk7iAAwLg0pC6AgKfyZC6AgKL6fvtDgK59pCYAwLS6feXAZeFbm9pFpVhnGTLHbDAIbQwMNXZ" />
    </div>
    <!-- +++++++++++++++++++++++++++++++++++++++++++++++++
           THE CODE BELOW DOES NOT DISPLAY -->
            <table width="1000" border="0" cellspacing="0" cellpadding="3">
                <tr>
                    <td align="left" class="tableheader">
                    <!-- =============  -->
                    <!-- SCREEN HEADER  -->
                    <!-- =============  -->
                    FloorName: Chase Tower - 36
                        <h1 class='tabletitle'>Chase Tower - 36&nbsp;()</h1>
                    </td>
                    <td class="tableheader">&nbsp;</td>
                </tr>
                <tr class="printmenu"> 
                    <td align="left" colspan="2" class="tableheader"> 
                        <table border="1" width="1000" cellspacing="0" cellpadding="5" bordercolor="#333333">
                            <tr>
                                <!-- ========== -->
                                <!-- MENU ITEMS -->
                                <!-- ========== --> 
                                <td><input type="submit" name="btnNewLayout" value="New Layout" id="btnNewLayout" /></td>
                                <td><input type="submit" name="btnSave" value="Save Layout" onclick="onSubmit();" id="btnSave" /></td>
                                <td><input type="button" name="btnSaveLayoutAs" value="Save Layout As..." onclick="onSaveAs();__doPostBack('btnSaveLayoutAs','')" id="btnSaveLayoutAs" /></td>
                                <td><input type="submit" name="btnCloneLayout" value="Clone Layout" id="btnCloneLayout" /></td>
                                <td><input type="submit" name="btnOpenLayout" value="Open Layout" id="btnOpenLayout" /></td>
                                <td><input type="submit" name="btnRemoveLayout" value="Remove Layout" id="btnRemoveLayout" /></td>
                                <td><input type="submit" name="btnAddEmployee" value="Add Employee" id="btnAddEmployee" /></td>
                                <td><input type="submit" name="btnToggleEmps" value="Toggle Employees" onclick="onToggleObjectView();" id="btnToggleEmps" /></td>
                                <td><input type="submit" name="btnPrintLayout" value="Print Layout" onclick="window.print();" id="btnPrintLayout" /></td>
                                <td><input type="submit" name="btnQuit" value="Quit" onclick="window.navigate('default.aspx');" id="btnQuit" /></td>
                            </tr>
                        </table>
                    </td>
                    <td class="tableheader">&nbsp;</td>
                </tr>
            </table>
            <div>
                <!-- ============= -->
                <!-- HIDDEN FIELDS -->
                <!-- ============= -->
              <input type="hidden" name="FloorID" value="29" />
              <input type="hidden" name="OLDFloorID" value="" />
              <input name="action" type="hidden" id="action" />
              <input type="hidden" name="name" value="" />
              <input type="hidden" name="layoutname" value="" />
              <input type="hidden" name="saveas" value="" />
              <input name="savelayout" type="hidden" id="savelayout" />
              <input type="hidden" name="cloneof" value="" />
              <input type="hidden" name="objecttype" value="" />
              <!---  This will contain a location code -->
              <input type="hidden" name="location" value="" />
              <input type="hidden" name="description" value="" />
              <input name="delobjectid" type="hidden" id="delobjectid" />
              <input name="updateobjectid" type="hidden" id="updateobjectid" />
              <input type="hidden" name="updatelocationid" value="" />
              <!--- These inputs are for storing LocationCode coordinates as opposed to objects/people -->
              <input type="hidden" name="locationIDs" value="" />
              <input name="locationXpositions" type="hidden" id="locationXpositions" />
              <input name="locationYpositions" type="hidden" id="locationYpositions" />
              <!------------------------------------------------------------------------------->
              <input name="objectIDs" type="hidden" id="objectIDs" />
              <input type="hidden" name="timekeeperIDs" value="" />
              <input name="objectXlocations" type="hidden" id="objectXlocations" />
              <input name="objectYlocations" type="hidden" id="objectYlocations" />
              <input type="hidden" name="scalefactor" value="0.6" />
              <input type="hidden" name="showObjects" value="" />
              <input type="hidden" name="showLocationCodes" value="True" />
            </div>
                <!--  THE ABOVE CODE DOES NOT DISPLAY  -->
    <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++-->
       <div style="position:absolute;border-width:0px;padding:0px;left:0px;top:120px;page-break-after : always;" id="FloorPlan">
     
    		<table>
    			<tr>
    				<td>
    					<DIV id="FloorPlanImage" style = "position:absolute;z-index = 0;border-width:0px;left:4px;top:0px;padding:0px;" UNSELECTABLE="on"><img id="FloorPicture" UNSELECTABLE="on" height= 743.4 width=745.2 src="floorimages/Houston - Level 36.png"></DIV>
     
    				</td>
    			</tr>
    		</table>
    	</div>
            </form>
    	</body>
    </html>
    The code above is what I copied from the View Source after running the page.

    I'm hoping that someone can see something that I'm not.

    Thanks.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,137
    We also need to see the stylesheet file: FloorPlan.css

    Better yet, post a link to the live page so we can really see everything. You can use a URL shortener like http://bit.ly if you don't want to show the complete URL here.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Jun 2012
    Posts
    58
    I can't allow access to the site because it is very secure. However, I removed the CSS's and everything was displayed. Thanks for that hint. Now I just need to see where the problem is.

Thread Information

Users Browsing this Thread

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

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