473,402 Members | 2,061 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,402 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 18 '05 #1
1 1466
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 18 '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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.