Adding Panel Item Programatically with image.

3 posts, 0 answers
  1. RJ
    RJ avatar
    43 posts
    Member since:
    Jun 2010

    Posted 27 Sep 2011 Link to this post

    Hi,

    I am adding panel items programatically. The items have image and text and  I can set the image to the left or right of the text. Is there a way to have the image on the top and the text below it. Are there any examples for this.

    Thanks
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Sep 2011 Link to this post

    Hello RJ,

    Try setting the following CSS to add images at the top.
    CSS:
    <style type="text/css">
    .RadPanelBar .rpImage
    {
      float:none !important;
    }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RJ
    RJ avatar
    43 posts
    Member since:
    Jun 2010

    Posted 28 Sep 2011 Link to this post


    Thank you for your response, I tried this, but it doesn't work. Are there any samples for this. The item should also be centered inside the panelbar. Can the enitre item be highlighted when it is selected. 


Back to Top