473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can Footer be Anchored on ASPX Page?

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
Nov 22 '05 #1
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

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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. ...
11
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...
0
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...
2
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....
2
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...
3
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...
0
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"...
7
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...
6
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...
7
by: Big Moxy | last post by:
site - http://projects.zanalysts.com/hearingaids1000/default.aspx css - http://projects.zanalysts.com/hearingaids1000/css/styles.css js -...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.