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

get RadDock attributes on client side

3 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
reza
Top achievements
Rank 1
reza asked on 23 Oct 2011, 04:46 PM
Hi
Is there anyway to read RadDock's attributes by it's js APIs ? (like RadToolbar that has specific js APIs to get it's attributes)

THANK YOU FOR YOUR FEEDBACK

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Oct 2011, 06:09 AM
Hello Reza,

You can try the following javascript.
Javascript:
function Click()
{
  var dock = $find("<%=RadDock1.ClientID %>");
  var Attribute = dock.get_element().getAttribute("New Value");
}

Thanks,
Shinu.
0
reza
Top achievements
Rank 1
answered on 24 Oct 2011, 01:55 PM
OK
Thanks
0
Slav
Telerik team
answered on 26 Oct 2011, 12:01 PM
Hello Reza,

You can also refer to the help article RadDock Client Object for a full list of client methods that provide access to some of the RadDock's internal attributes.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
reza
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
reza
Top achievements
Rank 1
Slav
Telerik team
Share this question
or