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

how access the template's controls

2 Answers 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 28 Sep 2010, 11:26 AM
Dear Sirs!
1. I have RadCalendar. It has the Footer template having the regular asp Label.
2. I need to find this control - label from client-side api, for example, inside client event OnDateSelected
3. The problem is that findControl method (as in RadGrid) here not works.

Thank you very much in advance.

Boris

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 29 Sep 2010, 03:38 PM
Hello Boris,

You will need to use server-side tag to find the control ClientID and the use the $get() or $find() method to get the client-side object of the control.

Sincerely yours,
Iana
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
Boris
Top achievements
Rank 1
answered on 30 Sep 2010, 05:39 PM
Hello Iana,

Thank you very much, it is helped me. Now all it's OK.

Boris
Tags
Calendar
Asked by
Boris
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Boris
Top achievements
Rank 1
Share this question
or