how access the template's controls

3 posts, 0 answers
  1. Boris
    Boris avatar
    21 posts
    Member since:
    Jun 2009

    Posted 28 Sep 2010 Link to this post

    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. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 29 Sep 2010 Link to this post

    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
  3. Boris
    Boris avatar
    21 posts
    Member since:
    Jun 2009

    Posted 30 Sep 2010 Link to this post

    Hello Iana,

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

    Boris
Back to Top