Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1470
Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.
posted

I have a simple ASP.NET application I am changing from classic ASP.NET to Infragistic controls.  I am running .NET Framework 4.0, AJAX Control Toolkit 4, and Infragistics for ASP.NET 4.

Default.aspx has a Infragistics datagrid that has several items in it.  You click ona row to select an item.  It posts back gets the two values in the grid to pass to a details web page (Response.Redirect with the parameters on query string). 

The details web page only has a couple of standard ASP.NET controls on it. 

When the details web page loads - it does properly read the parameters passed on the query string. 

But when the details web page (I guess) renders it throws an error:

In Default.aspx [dynamic]

 

In the lines that read:

 

<script type="text/javascript">

//<![CDATA[

if (typeof(Sys) === 'undefined') throw new Error(' ASP.NET Ajax client-side framework failed to load.');

//]]>

</script>

 

The error is:

 

Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.

Ive tried the other things I can find on the internet regarding this problem. 

Any ideas?

Thanks

 

 

 

Parents
  • 1470
    Verified Answer
    Offline posted

    Is Infragistics still around?  Have not heard anything from them.  Anyways - in case someone else is still using their controls - the answer is  - you have to set

    EnableAjax

     

     

    ="false"

    in the WebDataGrid - and then it all works fine.  My grid ended up looking like

     

     

    <ig:WebDataGrid ID="WebDataGrid1" runat="server" DataKeyFields="ApplicationID" EnableDataViewState="true" Width="100%" EnableAjax="false" >

     

     

    <Behaviors>

     

     

    <ig:Selection Enabled="true" CellClickAction="Row" RowSelectType="Single">

     

     

    <AutoPostBackFlags RowSelectionChanged="True" />

     

     

    </ig:Selection>

     

     

    </Behaviors>

     

     

    </ig:WebDataGrid>

Reply Children
No Data