Align image by right side inside dropdown list

3 posts, 0 answers
  1. Max
    Max avatar
    9 posts
    Member since:
    Jun 2010

    Posted 01 Jun 2011 Link to this post


    is there a way to align images for each list item by the right side?

    something like this
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Jun 2011 Link to this post

    Hello Max,

    I am not quite sure about your scenario and I suppose this help article might be useful for you.
    Templates Overview.

    Please elaborate your scenario if it doesn't help.

  3. Kalina
    Kalina avatar
    918 posts

    Posted 03 Jun 2011 Link to this post

    Hello Max,

    You can easily achieve this layout using the RadComboBox Templates and Custom Attributes.
    At first you can set the ImageUrl as a custom attribute to every item while databinding the control.
    Then at markup you can implement the layout that you prefer within the ItemTemplate.
    I prepared a small example for you - please find it attached.

    All the best,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top