Page is not fully loaded after RadButton added

3 posts, 0 answers
  1. Dmitry
    Dmitry avatar
    11 posts
    Member since:
    Dec 2010

    Posted 06 Jan 2011 Link to this post


    I have here the following problem, wonder if it is a known issue:

    Have a page with RadTabStrip, tabs generated by TabTemplates with DataSource provided. Tab Strip is set to be shorter than required to display all tabs ==> thus scrolling is there. Also there is function set for OnClientLoaded event.
    Under normal circumstances:
     1) Tabs are loaded,
     2) tab strip scrollbar is displayed,
     3) function for OnClientLoaded event fires as required.

    Now - I have added a RadButton with Text and ImageURL properties set as well as OnClientClicked pointing to existing function.
    When I run page now, I see that:
     1) Tabs are loaded,
     2) tab strip scrollbar is NOT displayed, and tabs are NOT scrollable
     3) function for OnClientLoaded event does NOT fire
     4) RadButton is shown

    are these two controls are incompatible or I am missing something?
    I can set up some small sample demo if needed for investigation

  2. Lini
    Lini avatar
    2144 posts

    Posted 06 Jan 2011 Link to this post

    Hello Dmitry,

    The page probably has a JavaScript exception, which prevents the controls (TabStrip) from correctly initializing. Check the JS exception message (for example, the button cannot find its OnClientClicked function) and try to fix it. If that does not help, open a formal support ticket and send us a simple page that shows the problem.

    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.
  3. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 06 Jan 2011 Link to this post

    Hello Dmitry,

    To expand on what Lini said. If you're pointing it to an existing function, which I guess you used with the normal asp:Button, you will need to adjust the function signature.

    So if you had a function like this:

        alert("Hello World!");

    It needs to be changed to this:

    OnButtonClick(sender, args){
        alert("Hello World!");

    In order to work with RadButton.

    I hope that helps.
Back to Top