Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / September 2004

Tip: Looking for answers? Try searching our database.

Can Footer be Anchored on ASPX Page?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randy - 30 Sep 2004 19:01 GMT
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
Steve C. Orr [MVP, MCSD] - 30 Sep 2004 19:45 GMT
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.

Signature

I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

> Can footers be forced to the bottom of an .ASPX page either using
> #include or User Controls?
[quoted text clipped - 17 lines]
> Thanks,
> Randy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.