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
100
MVC 3.0 .net 4.0 Error in cshtml
posted

I created a basic mvc app to check the igGrid.

I am getting error "The type or namespace name 'Infragistics' could not be found ".

I have added the reference of  Infragistics.Web.Mvc.dll

The code is:

 

@using Infragistics.Web.Mvc

<div>

    @Html.Infragistics().Grid("grid1", Model.MyGridModel)

</div>

I resolved this by making localcopy=true,

 

However, I am not able to refer "myGridModel" here.

@inherits Infragistics.Web.Core.Framework.Mvc.SampleViewPage<Infragistics.Web.Mvc.Samples.Grid.Filtering.Mvc.Model.GridFilteringModel>                                               
 It says, cannot find core, are you missing any assembly reference.

I am follwing the example here:

http://samples.infragistics.com/jquery/grid/filtering

Parents
  • 24671
    Suggested Answer
    posted

    Hi,

    This is part of the Samples browser framework , you can just use ViewPage instead of SampleViewPage. The assembly where this is located is called Infragistics.Web.SampleBrowser.Core.Framework.Mvc.dll

    Hope it helps. Thanks

    Angel

Reply Children
No Data