Hi All,
I recently downloaded ALTB gallery from http://amitleibov.info/dnn/Home/tab...fault.aspx (you need to register). It's a free, port of the Vs2005 starter kit gallery, and comes with source code.
It works very well, apart from the fact that when you view pictures, it jumps away from the current skin to the admin skin.
Looking at the code, it uses EditUrl to navigate among the many "View" controls (ViewAlbum, ViewPhotos) defined in the module definition.
I googled around, and found the NavigateURL is recommended rather than EditUrl if you want to avoid going to the Admin Skin.
I've tried NavigateUrl ala Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "ViewPhotos", "AlbumID=" + info.AlbumID.ToString(), "mid=" + ModuleId.ToString());but it still ends up going to the Admin skin.
viewPhoto.HRef = DotNetNuke.Common.
Any ideas?