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
15
Unable to get property '_injectGrid' of undefined or null reference
posted

We are upgrading the jquery versions to the latest for an ownapplication code.

On upgrading to jquery 3.4.1, the grid is not loading for the machine level application and is failing in infragistics.ui.grid.framework.js with the below error :

 

0x800a138f - JavaScript runtime error: Unable to get property '_injectGrid' of undefined or null reference

0x800a138f - JavaScript runtime error: Unable to get property 'locale' of undefined or null reference

 

Following this error, the grid on the page is not loading.

Code snippet- html code

We are upgrading the jquery versions to the latest for the PAMS application code to cover the VAT findings.

On upgrading to jquery 3.4.1, the grid is not loading for the machine level application and is failing in infragistics.ui.grid.framework.js with the below error :

 

 

0x800a138f - JavaScript runtime error: Unable to get property '_injectGrid' of undefined or null reference

0x800a138f - JavaScript runtime error: Unable to get property 'locale' of undefined or null reference

 

Following this error, the grid on the page is not loading.

HTML CODE : 

<div style="clear: both;">
@(Html.Infragistics().Grid<AgentEvent>().ID("eventsGrid")
.Width("100%").Caption("Agent Events")
.Columns(x =>
{
x.For(y => y.TimeStamp).Width("15%").HeaderText("Date").Format("yyyy-MM-dd HH:mm").DataType("date");
x.For(y => y.EventId).Width("8%").HeaderText("Event ID");
x.For(y => y.Message).Width("auto").HeaderText("Message");
})
.Features(f =>
{
f.Paging().PageSizeDropDownLocation("inpager").PageSize(10);
f.Resizing();
})
.DataSourceUrl(Url.Action("AgentEventData", new { id = Model.Agent.Id }))
.DataBind().Render())
</div>

ERROR : Unable to get property '_injectGrid' of undefined or null reference in nfragistics.ui.grid.framework.js 

Could you please help me out on this?

Parents Reply Children