DataPager & PlaceHolder positions
Imar,
I just completed the last Try It out for chapter 16 that started on page 586. Everything worked as expected while running the Default.aspx page from the PhotoAlbums folder, but I did notice that in albums that contained only one or two picture or when viewing the last page of a larger album, that the DataPager that was added back in chapter 13 on page 469 and the PlaceHolder that contains the Album's creator and bio floated up and to the right.
I checked the official Planet Wrox website online and it didn't exhibit this behavior. For every album there, both the DataPager and PlaceHolders remained in a constant position at the bottom of the page above the footer.
My idea to resolve this would be to put both the DataPager and PlaceHolder in a div that leverages a CSS class that keeps it in a constant position, however I'm not sure if the DataPager can be removed from within the <LayoutTemplate> tags. Any insight would be greatly appreciated.
Thanks,
John
|