How to change title of RadSlidingzone/Radslidingpane?

3 posts, 1 answers
  1. Mike
    Mike avatar
    15 posts
    Member since:
    Jul 2010

    Posted 02 Aug 2010 Link to this post

    I have a RadPane on my form.  Inside that I have a RadSlidingZone.  Inside that I have a RadSlidingPane.

    Inside my slidingpane I have two radComboboxes for the user to make some choices.

    My question is this:  once the user had made their choices in the Comboboxes, is it possible to change the Title of the RadslidingPane/Radslidingzone to be the text of the comboboxes?

    I want the user to be able to see the choices that they made in the title without having to mouse-over the slidingpane to make it drop-down to be able to see what their choices were.

    I've looked at using the SelectedIndexChanged event of the second combobox as well as the OnClientCollapsed property of the slidingpane (call a JScript function) but I can't figure out how to make it work.

    Thanks in advance,
    Mike T.
  2. Answer
    Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 05 Aug 2010 Link to this post

    Hi Mike,

    To change the title of RadSlidingPane you need to use its set_title("Text") client-side method. You can execute this method during the RadComboBox's OnClientSelectedIndexChanged event or during RadSlidingPane's OnClientCollapse event.

    For your convenience I have attached sample page demonstrating both approaches.

    Kind regards,
    Dobromir
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    15 posts
    Member since:
    Jul 2010

    Posted 05 Aug 2010 Link to this post

    Works perfectly.  Thanks a ton Dobromir.

    Mike T.
Back to Top