Change panelbar image handle

4 posts, 1 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 19 Aug 2012 Link to this post

    How to change the default panelbarhandle image?
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Aug 2012 Link to this post

    Hi,

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

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 20 Aug 2012 Link to this post

    Thanks.One more question.I have a RadTextBox in itemtemplate of panelbar?How to access it from client side on expanding?
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Aug 2012 Link to this post

    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.
Back to Top