Click here to Skip to main content
12,750,710 members (38,963 online)
   

ASP.NET

 
GeneralRe: output string parameter Pin
N a v a n e e t h21-Dec-07 20:56
memberN a v a n e e t h21-Dec-07 20:56 
GeneralRe: output string parameter Pin
Paul Conrad22-Dec-07 10:41
memberPaul Conrad22-Dec-07 10:41 
QuestionArrayList on my Page Pin
Member 470022521-Dec-07 17:50
memberMember 470022521-Dec-07 17:50 
GeneralRe: ArrayList on my Page Pin
Christian Graus21-Dec-07 18:39
staffChristian Graus21-Dec-07 18:39 
GeneralRe: ArrayList on my Page Pin
Member 470022521-Dec-07 19:16
memberMember 470022521-Dec-07 19:16 
GeneralRe: ArrayList on my Page Pin
Christian Graus21-Dec-07 19:19
staffChristian Graus21-Dec-07 19:19 
GeneralRe: ArrayList on my Page Pin
Member 470022521-Dec-07 20:06
memberMember 470022521-Dec-07 20:06 
GeneralSetting - ASP:Table Height to 100% Pin
crandall21-Dec-07 16:12
membercrandall21-Dec-07 16:12 
I am trying to create a table for layout. Simple header, content and footer sections (rows).

I want the header to sit flush against the top of the page and the footer to sit at the bottom of the page. The content section should fill the available space. I thought setting the height of the table to 100% would accomplish this but there appears to be problems. Is there a neat solution to this problem? What is the workaround?

Code shown below:

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

<!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>
    
    <asp:Table Width="100%" Height="100%" BackColor="Azure" runat="server">
    <asp:TableRow>
    <asp:TableCell Height="50px">top</asp:TableCell>
    </asp:TableRow>
    
    <asp:TableRow>
    <asp:TableCell BackColor="Beige">
    <form id="form1" runat="server">
    <div>
    mid
    </div>
    </form>
    
    </asp:TableCell>
    </asp:TableRow>
    
    
    <asp:TableRow>
    <asp:TableCell Height="50px" BackColor="BlanchedAlmond">bottom</asp:TableCell>
    </asp:TableRow>
    
    
    </asp:Table>
</body>
</html>




GeneralRe: Setting - ASP:Table Height to 100% Pin
Michael Sync21-Dec-07 21:47
memberMichael Sync21-Dec-07 21:47 
QuestionGridwiev to a formview Pin
Knowledgestudent21-Dec-07 11:28
memberKnowledgestudent21-Dec-07 11:28 
GeneralRe: Gridwiev to a formview Pin
Paul Conrad22-Dec-07 10:30
memberPaul Conrad22-Dec-07 10:30 
GeneralRe: Gridwiev to a formview Pin
Knowledgestudent22-Dec-07 11:56
memberKnowledgestudent22-Dec-07 11:56 
GeneralRe: Gridwiev to a formview Pin
Paul Conrad23-Dec-07 8:52
memberPaul Conrad23-Dec-07 8:52 
Generalautomatically generate a text file from the server Pin
kani9821-Dec-07 9:54
memberkani9821-Dec-07 9:54 
GeneralRe: automatically generate a text file from the server [modified] Pin
pmarfleet21-Dec-07 10:09
memberpmarfleet21-Dec-07 10:09 
GeneralWebcontrols.Login cookies Pin
thrakazog21-Dec-07 7:35
memberthrakazog21-Dec-07 7:35 
GeneralRe: Webcontrols.Login cookies Pin
pmarfleet21-Dec-07 8:57
memberpmarfleet21-Dec-07 8:57 
Questionhow to integrate paypal in my webpage for payments send and receive Pin
chanu00721-Dec-07 6:16
memberchanu00721-Dec-07 6:16 
GeneralRe: how to integrate paypal in my webpage for payments send and receive Pin
Paul Conrad22-Dec-07 10:31
memberPaul Conrad22-Dec-07 10:31 
Questionhow to change the color of a grid view cells of a particular column dynamically Pin
jagadeeshkumar210621-Dec-07 4:43
memberjagadeeshkumar210621-Dec-07 4:43 
AnswerRe: how to change the color of a grid view cells of a particular column dynamically Pin
illusky23-Dec-07 16:04
memberillusky23-Dec-07 16:04 
QuestionHow to handle event of user control that are dynanically added in contentPlaceHolder of master page Pin
Yogesh_M21-Dec-07 3:52
memberYogesh_M21-Dec-07 3:52 
AnswerRe: How to handle event of user control that are dynanically added in contentPlaceHolder of master page Pin
Michael Sync21-Dec-07 21:52
memberMichael Sync21-Dec-07 21:52 
GeneralWhich Applications are using an Assembly in GAC Pin
sebastiansony1196621-Dec-07 2:33
membersebastiansony1196621-Dec-07 2:33 
GeneralRe: Which Applications are using an Assembly in GAC Pin
Abhijit Jana21-Dec-07 2:44
member Abhijit Jana21-Dec-07 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 21 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid