RadToolbar on WebForm/master Page Site

4 posts, 0 answers
  1. Colin Wright
    Colin Wright avatar
    26 posts
    Member since:
    Mar 2008

    Posted 05 May 2008 Link to this post

    I have a master page site. On one web form I am using rad toolbar. I am using Javascript to try and create a click handler for a spell check.

    I am using the <%RadToolBar1.ClientID%> to access the Rad Tool bar. However it does not seem to work. (The toolbar is NOT on the master page)

    <telerik:RadCodeBlock ID=rcb2 runat=server>

    <script language=javascript>

    var toolb = <%=RadToolBar1.ClientID %>;




    click_handler(sender, e)


    if(sender.CommandName == "spell")



    return false;





  2. Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 05 May 2008 Link to this post

    Hi Colin,

    The client-side model of RadToolBar for ASP.NET Ajax is different than that of RadToolBar for ASP.NET "Classic". You need to set the OnClientButtonClicked property to the click_handler function you already have.

    Please, check the Client-side Events page, you might find the information there helpful.

    Best regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Henry
    Henry avatar
    4 posts
    Member since:
    May 2006

    Posted 20 May 2011 Link to this post

    In addition, The RadToolbar does not work when an iframe is on the page. 
  4. Kate
    Kate avatar
    1898 posts

    Posted 25 May 2011 Link to this post

    Hello Wiliam,

    I tested the scenario but it seems that the RadToolbar works properly when I put an iframe on the page. I have attached a sample page that demonstrates how it works. Please make sure that you close the iframe tag properly as described in the following forum post

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top