I need to access the "Text" property of serverside RadDock ClientSide.
How do I do this ?
dock.get_element().value
or
dock.get_contentContainer().value ?
Kind Regards
David
1 Answer, 1 is accepted
0
Sophy
Telerik team
answered on 10 Jul 2008, 08:38 AM
Hi David,
You can find the DOM element for the content region of the dock with the get_contentContainer method of the RadDock. The text which you set in the Text property of the RadDock is placed in the content container of the control inside a span element (if the corresponding dock does not have any other content, otherwise the set text is ignored). You will need to find this span element with javascript and take its value, e.g.: