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

How to change title of RadSlidingzone/Radslidingpane?

2 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 2
Mike asked on 02 Aug 2010, 05:22 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 05 Aug 2010, 09:43 AM
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
0
Mike
Top achievements
Rank 2
answered on 05 Aug 2010, 02:05 PM
Works perfectly.  Thanks a ton Dobromir.

Mike T.
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Mike
Top achievements
Rank 2
Share this question
or