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

Adding Panel Item Programatically with image.

2 Answers 45 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
RJ
Top achievements
Rank 1
RJ asked on 28 Sep 2011, 03:29 AM
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 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Sep 2011, 05:36 AM
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.
0
RJ
Top achievements
Rank 1
answered on 28 Sep 2011, 11:10 PM

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. 


Tags
PanelBar
Asked by
RJ
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
RJ
Top achievements
Rank 1
Share this question
or