More in this section

Forums / Developing with Sitefinity / ImagesView control in code behind

ImagesView control in code behind

1 posts, 0 answered
  1. Richard
    Richard avatar
    14 posts
    Registered:
    23 Apr 2012
    23 Apr 2012
    Link to this post
    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
1 posts, 0 answered