Displayed Image Data Key

2 posts, 0 answers
  1. Bill
    Bill avatar
    3 posts
    Member since:
    Jun 2012

    Posted 10 Apr 2014 Link to this post

    is there anyway to determine the Displayed Image Data Key?

  2. Pavlina
    Pavlina avatar
    6183 posts

    Posted 15 Apr 2014 Link to this post

    Hello Bill,

    If you want to extract the DataKeyValue of the ImageGallery item you can try using the the following code.
    protected void RadImageGallery1_ItemDataBound(object sender, ImageGalleryItemEventArgs e)
                string keyValue = e.ListViewItem.GetDataKeyValue("ID").ToString();


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top