This is a migrated thread and some comments may be shown as answers.

How to change the image size which is displayed for each listboxitem

1 Answer 34 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Raushan
Top achievements
Rank 1
Raushan asked on 08 Oct 2013, 12:21 PM
RadListBoxItem item = new RadListBoxItem(storageIDictionary["UserName"].ToString());
            
             item.ImageUrl = storageIDictionary["Image"].ToString();
              Individual_List.Items.Add(item);
the image are of different sizes and i want to restrict the size to be 70px ,70px

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 09 Oct 2013, 08:12 AM
Hi Raushan,

Please try the following CSS.

CSS:
<style type="text/css">
    .rlbImage
    {
        height:70px !important;
        width:70px !important;
    }
</style>

Thanks,
Shinu.

Tags
ListBox
Asked by
Raushan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or