ImagesView control in code behind

Posted by Community Admin on 04-Aug-2018 18:42

ImagesView control in code behind

All Replies

Posted by Community Admin on 23-Apr-2012 00:00

Hi,

I am trying to dynamically create an ImagesView control using the code found in this thread as an example:

http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/dynamically-choosing-gallery-for-image-gallery-control.aspx 


However, when I view the output on the page there seems to be something going wrong with the album assignment.  The control is grabbing every image we have uploaded into Sitefinity instead of just the ones in the assigned album's Guid.  I have verified that the Guid is still set all the way up through Page PreRender and am not sure what else could be going wrong.  Any help would be appreciated.

Thanks,
Richard Field

This thread is closed