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

Change panelbar image handle

3 Answers 31 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 19 Aug 2012, 02:32 PM
How to change the default panelbarhandle image?

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 20 Aug 2012, 04:32 AM
Hi,

Try overriding the default CSS as shown below.
CSS:
.RadPanelBar_Default .rpExpandable .rpExpandHandle
{
 background-image: url("Images/img.gif") !important ;
}

Thanks,
Princy.
0
Tina
Top achievements
Rank 1
answered on 20 Aug 2012, 04:37 PM
Thanks.One more question.I have a RadTextBox in itemtemplate of panelbar?How to access it from client side on expanding?
0
Princy
Top achievements
Rank 2
answered on 21 Aug 2012, 04:33 AM
Hi Tina,

Try the following javascript to access controls in ItemTemplate.
JS:
function OnClientItemExpand(sender, args)
{
 var item = sender.findItemByText("text");
 var txt = item.findControl("RadTextBox1");
}

Thanks,
Princy.
Tags
PanelBar
Asked by
Tina
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Tina
Top achievements
Rank 1
Share this question
or