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
260
Getting Error : infragistics.lob.js:118 Uncaught Error: No such widget loaded: igGridLoadOnDemand
posted

<link href="http://cdn-na.infragistics.com/igniteui/2014.2/latest/css/themes/infragistics2012/infragistics.theme.css" rel="stylesheet" />
<link href="http://cdn-na.infragistics.com/igniteui/2014.2/latest/css/structure/infragistics.css" rel="stylesheet" />

<script src="http://modernizr.com/downloads/modernizr-latest.js"></script>
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>

<script src="http://cdn-na.infragistics.com/igniteui/2014.2/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2014.2/latest/js/infragistics.lob.js"></script>

@(Html.Infragistics().Grid<Model_Result>()
.ID("DMGrid")
.Width("100%")
.Height("350px")
.AutoGenerateColumns(false)
.Columns(column =>
{
})
.Features(features =>
{

features.LoadOnDemand().ChunkSize(10).LoadTrigger(LoadTrigger.Button);

})

.PrimaryKey("Id")
.DataSourceUrl(Url.Action("abc", "abc", new { searchstr = ViewData["SearchText"], Id= ViewData["Id"] }))
.DataBind()
.Render()
)

Parents
No Data
Reply
  • 260
    posted

    And if i'm replacing CDN references with below then it is working fine.

    <script type="text/javascript" src="http://cdn-na.infragistics.com/jquery/20132/latest/js/infragistics.core.js"></script>
    <script type="text/javascript" src="http://cdn-na.infragistics.com/jquery/20132/latest/js/infragistics.lob.js"></script>

Children