Microsoft JScript runtime error: Object expected

4 posts, 0 answers
  1. Hrushikesh Mokashi
    Hrushikesh Mokashi avatar
    172 posts
    Member since:
    Dec 2007

    Posted 11 Sep 2008 Link to this post

    Hi All,

    I am using Master And content page.

    In Master page
    I have used RadScriptManager,RadAjaxManager and RadAjaxLoadingPanel.

    In Content Page

    I am using RadTabStrip,RadMultipageView,RadAjaxManagerProxy.
    In RadPageView I added RadGrid,RadDatePicker and Button.

    I have added ajax setting on RadTabstrip and radMultiPageView control.

    I have added 3 tab tab1,tab2,tab3.

    Ajax setting are folllows
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
             <telerik:AjaxSetting AjaxControlID="rtabTemp">
                      <telerik:AjaxUpdatedControl ControlID="RadMultiPageMain" />
             <telerik:AjaxSetting AjaxControlID="RadMultiPageMain">
                      <telerik:AjaxUpdatedControl ControlID="rtabTemp" />

    //Client side function are follows


                function applicationLoadHandler()
                    $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").OnRequestStart = RequestStart;



                function onTabSelecting(sender, args) {
                    if (args.get_tab().get_pageViewID()) {

                function RequestStart(sender, args) {

                    if (args.EventTarget == "ctl00$Content$btnExportdata") {
                        args.EnableAjax = false;
                    else if (args.EventTarget == "ctl00$Content$btnExportToExcelSSOpen") {
                        args.EnableAjax = false;
                        args.EnableAjax = true;



    When i nevigating from one tab to another tab it gives me javascript error
    it generate js error after 6 or above nevigation.

    Microsoft JScript runtime error: Object expected

  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 11 Sep 2008 Link to this post

    Hello Hrushikesh,

    In case you use RadScriptManager on your page, review the explanation from the following forum post and test the custom build from there to see whether this helps,

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Peter
    Peter avatar
    98 posts
    Member since:
    Mar 2012

    Posted 23 Apr 2015 in reply to Sebastian Link to this post

    That forum post link is broken.
  4. Vessy
    Vessy avatar
    2067 posts

    Posted 27 Apr 2015 Link to this post

    Hi Peter,

    Yes, the forum link is broken as the reply is posted more than 6 years ago. Unfortunately, back then we had had very different url convection preventing me to restore the link to the target topic. Despite of that he suggested by my colleague solution is related to a 2008 custom build which, most probably, will not be applicable to the more recent releases of the controls.

    This is why, can you please explain in more details the exact circumstances in which the error occurs on your side so we can try to help you further? It would be great if you isolate the problem into a sample runnable project and send it so we can examine it on our side.

    Looking forward to your reply,

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top