This project is read-only.

Can the NavigationMode 'Link' be used when using PH as a control?

May 28, 2011 at 1:45 AM


I am using PhotoHandler in my MojoPortal install (where it is used as a control).  I would like to set the NavigationMode to Link.  Is this possible?


May 28, 2011 at 2:25 AM

Can't see why not. What happens when you try?

May 28, 2011 at 5:14 AM
Edited May 28, 2011 at 5:15 AM

The image links change from:


 - to -


However, The page that I have the control on is not 'Default.aspx', it is 'photo-gallery.aspx'.  I also tried, 'http://solution.mojoportal/photo-gallery.aspx?albummode=Page&albumpath=%7e%2fData%2fSites%2f1%2fCIFolderGalleries%2fCommunityPhotoGallery%2fwallpaper-1.jpg' which naturally didn't work either.

May 28, 2011 at 5:20 AM

You need to set the Path property on the control.

May 28, 2011 at 5:52 AM

Should I be setting it as follows?

<ci:album runat="server" ID="Album1" EnableViewState="false" NavigationMode="Link" Path="~/Data/Sites/CIFolderGalleries/CommunityPhotoGallery/fwallpaper-1.jpg">
May 28, 2011 at 5:56 AM

Don't point Path to a specific image, point it to the folder.