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
320
getting error while Implementing ui.igHierarchicalGrid in mvc3 asp.net application
posted

am using the mvc3 and wants to add ui.igHierarchicalGrid in my application. am refering the http://www.infragistics.com/help/jquery/igHierarchicalGrid_Binding_to_WebAPI.html#configure_root_layout but still getting error like..

The model item passed into the dictionary is of type 'System.Data.Objects.ObjectQuery`1[InfragisticsMvcApp1.tbluser]', but this dictionary requires a model item of type 'System.Linq.IQueryable`1[InfragisticsMvcApp1.Models.tbluser]'.


please help me...



Parents
No Data
Reply
  • 49378
    posted

    Hello Kahna,

    The exception suggests that the Entities in question are not placed under MVCs models and also that the resulting collection is not case to IQueryable. In order to be able to provide additional feedback, a sample illustrating the issue in question would be greatly appreciated.

    Please feel free to contact me with any updates or questions.

Children