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

2 posts, 0 answers
  1. Raushan
    Raushan avatar
    6 posts
    Member since:
    Sep 2013

    Posted 08 Oct 2013 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Oct 2013 Link to this post

    Hi Raushan,

    Please try the following CSS.

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

    Thanks,
    Shinu.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top