Click here to Skip to main content
15,848,157 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
First i'm sorry for my weak english.
I need to have an image view(telerik rad list view) and an image list,when user clicks on images of image list,the selected image appears in the picture box.
but i can't access selected item's key to show it from list box.
i have no idea how to access image key
I tried following links :[^][^][^]

but i couldn't find any way to access them.

this is my code to load image in image list and from image list to image view :
 private void radButtonElement1_Click(object sender, EventArgs e)
 string[] imgs;
            imgs = openFileDialog1.FileNames;
            int i = 0;
            foreach (string im in imgs)
            Bitmap bmp = new Bitmap(im);
            ListViewDataItem item = new ListViewDataItem();
            item.Image = imageList1.Images[i];
            radListView1.ItemSize = new Size(100, 100);
            radListView1.AllowArbitraryItemHeight = false;
            radListView1.AllowArbitraryItemWidth = false;

thank you.
Updated 22-Apr-13 5:04am
CHill60 22-Apr-13 9:04am    
Use the Improve question link to add detail to your question - for example the code you have tried so far, or the reason why you can't access the selected item's key

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900