Can footers be forced to the bottom of an .ASPX page either using
#include or User Controls?
I got a page that starts out displaying 3 drop down lists, one text
box, 5 labels and 1 Submit Button. The goal is to initially have the
footer display below the Submit Button. Once data has been filled in,
a DataGrid will display data based on the criteria. The drop downs
work, the DataGrid displays data correctly. The problem is that when
I add the footer, either as a #include or as a User Control, the
footer moves to the top of the page and then the drop down list boxes
and text boxes are painted over the top of the footer. Displaying the
DataGrid has no effect, except that the footing is not displayed below
the DataGrid. Can anything be done to force the footer to display
below whatever else is displayed on the page? Can it be made to be
dynamic such that if the page is short, it remains at the bottom and
if the page is long, it stays at the bottom too?
If you want to see the HTML or the Code Behind, let me know. It is a
little bulky to include inline.
Thanks,
Randy 1 1485
Do some research on the pageLayout property of web forms.
By experimenting with GridLayout and FlowLayout you should be able to place
any control anywhere you want on the page.
There is no single best way to do this, it depends on your requirements.
Also, I've found using the HTML table control is a handy way to place
controls relative to eachother, so I suggest you play around with it too.
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Randy" <rh****@raytheon.com> wrote in message
news:e6**************************@posting.google.c om... Can footers be forced to the bottom of an .ASPX page either using #include or User Controls? I got a page that starts out displaying 3 drop down lists, one text box, 5 labels and 1 Submit Button. The goal is to initially have the footer display below the Submit Button. Once data has been filled in, a DataGrid will display data based on the criteria. The drop downs work, the DataGrid displays data correctly. The problem is that when I add the footer, either as a #include or as a User Control, the footer moves to the top of the page and then the drop down list boxes and text boxes are painted over the top of the footer. Displaying the DataGrid has no effect, except that the footing is not displayed below the DataGrid. Can anything be done to force the footer to display below whatever else is displayed on the page? Can it be made to be dynamic such that if the page is short, it remains at the bottom and if the page is long, it stays at the bottom too?
If you want to see the HTML or the Code Behind, let me know. It is a little bulky to include inline.
Thanks, Randy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Randy |
last post by:
Can footers be forced to the bottom of an .ASPX page either using
#include or User Controls?
I got a page that starts out displaying 3 drop down lists, one text
box, 5 labels and 1 Submit Button. ...
|
by: Peter Wu |
last post by:
Hello,
I want to create a Header and Footer for every ASPX page I build. I
created 2 Web user controls respectively and placed them in an ASPX page.
The problem is that I cannot position the...
|
by: John Crowley |
last post by:
I keep running into this over and over again...
I want a block server control that renders a header and footer, and child
controls in between.
But I don't want a templated control, for the...
|
by: |
last post by:
I have gotten the following error in trying to get totals to come out on a
footer.
Server Error in '/test' Application....
|
by: Nicholas |
last post by:
Here is the issue:
1. I would like to create an ASP.Net/C# control to append a dynamic
header and footer to **every** web page (depending on the page the
content of each will vary).
I can...
|
by: Dave |
last post by:
Greetings,
I am developing an internal web application. I would like to do some sort
of method where I include a "header.aspx" and "footer.aspx" page in my code,
so I don't need to include my...
|
by: .Net Sports |
last post by:
It seems I can't get an anchored link inside an aspx address to work.
I'm looking to create an anchored link with the title of a news article
here:
<asp:DataList id="thedata2" runat="server"...
|
by: xkeops |
last post by:
Thinking of creating a website, most of the pages will have a general
toolbar
menu, a content and a footer.
The content will be the only one who's gonna change but the rest
(header,footer)
will...
|
by: Martin Plotz |
last post by:
Dear Newsgroup,
I would like to have a page with a footer on the bottom of the page with
a fixed height. The upper part should have the remaining height. In
frames I could achieve this with "*" as...
|
by: Big Moxy |
last post by:
site - http://projects.zanalysts.com/hearingaids1000/default.aspx
css - http://projects.zanalysts.com/hearingaids1000/css/styles.css
js -...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |