I am using a code-behind page to create the dotnetgallery. I then add this gallery to a place on the site using PlaceHolder.controls.add( gallery ); I setup the gallery before hand.
I am getting an error which is causing the entire gallery not to work.