473,779 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1525
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****@raytheo n.com> wrote in message
news:e6******** *************** ***@posting.goo gle.com...
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
350
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. 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...
11
8331
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 Footer to be always at the bottom of the page. The Header and Footer are always together at the top of the page. Was I missing anything? Thanks!
0
357
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 following reasons: 1) Render blocks are not allowed inside a templated control. 2) I want the inner controls scoped at the parent aspx (or ascx), not at the template naming container. This type of control would be ideal for website headers and...
2
1459
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. ---------------------------------------------------------------------------- ---- DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a property with the name ViewCount. Description: An unhandled exception occurred during the execution of the
2
1624
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 easily create the control yet herein lay the problem: 2. The folks who edit the HTML content are NOT programmers and even though the content pages will have an aspx extension, there will be
3
2218
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 header and footer on each .aspx page in my web application. I have found instructions on the internet for how to do this with shtml and php, but not asp.net. Thank you kindly,
0
890
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" RepeatColumns="1" RepeatDirection="vertical" CellSpacing="3"> <ItemTemplate> <b><a href="#a<%# Container.DataItem("newsID")%>"><%# Container.DataItem("newsheader")%></a></b>
7
8731
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 remain the same. I am interested to know your opinions/suggestions in finding an easy way of doing it. In asp one could have something like this:
6
2713
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 height for the upper part - but I would like to do the same with CSS. In Firefox <body style="height:100%"> <div id="main"
7
2303
by: Big Moxy | last post by:
site - http://projects.zanalysts.com/hearingaids1000/default.aspx css - http://projects.zanalysts.com/hearingaids1000/css/styles.css js - http://projects.zanalysts.com/hearingaids1000/JScript/setFooterPositionA.js and setFooterPositionR.js javascript - http://www.alistapart.com/articles/footers (example 5 and 6) I am in desparate need of a solution for a page footer. From googling it seems that using javascript is the best approach so I...
0
9636
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9930
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.