468,278 Members | 1,544 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,278 developers. It's quick & easy.

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 1303
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Randy | last post: by
11 posts views Thread by Peter Wu | last post: by
2 posts views Thread by Nicholas | last post: by
3 posts views Thread by Dave | last post: by
reply views Thread by .Net Sports | last post: by
7 posts views Thread by xkeops | last post: by
6 posts views Thread by Martin Plotz | last post: by
reply views Thread by zattat | last post: by
1 post views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.