Access RAD Toolbar template button on client side

2 posts, 0 answers
  1. Rose Garza
    Rose Garza avatar
    45 posts
    Member since:
    Nov 2006

    Posted 07 May 2008 Link to this post


    I'm using RADToolbar which has template button and with in the template button i have a linkbutton and a label. I have to access the label with in the template button in the tool bar on the client side (javascript). When i tried to access the toolbar on client side, it says that  'toolbar ins undefined'. But when i use toolbar button instead of template button, i was able to access the toolbar. So the question is how to access the controls with in the template button in toolbar on client side (javascript)?  
    Note: i'm developing using Telerik of version 'RadControls for ASP.NET Q2 2007'.

  2. Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 08 May 2008 Link to this post

    Hi Rose,

    You could use the document.getElementById('<%=RadToolBar.FindControl("Label1").ClientID%>'); approach. The attached page demonstrates that.

    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top