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">
          <ajaxsettings>       
             <telerik:AjaxSetting AjaxControlID="rtabTemp">
                  <updatedcontrols>
                      <telerik:AjaxUpdatedControl ControlID="RadMultiPageMain" />
                  </updatedcontrols>
              </telerik:AjaxSetting>
             
                      
             <telerik:AjaxSetting AjaxControlID="RadMultiPageMain">
                  <updatedcontrols>
                      <telerik:AjaxUpdatedControl ControlID="rtabTemp" />
                  </updatedcontrols>
              </telerik:AjaxSetting>
      </ajaxsettings>
        </telerik:RadAjaxManagerProxy>


    //Client side function are follows

    Sys.Application.add_load(applicationLoadHandler);

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

          }

     

                function onTabSelecting(sender, args) {
                    if (args.get_tab().get_pageViewID()) {
                        args.get_tab().set_postBack(true);
                    }
                }

                function RequestStart(sender, args) {

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

    ///

    Issue>

    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


    Thanks
  2. Sebastian
    Admin
    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,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. 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.
  5. Vessy
    Admin
    Vessy avatar
    1389 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,
    Vessy
    Telerik
     

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

     
Back to Top