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
280
IgniteUI Example Issue
posted

Hi,

I am trying to do this sample my local,

https://www.igniteui.com/grid/basic-editing

But .ID is throwing error in VS 2022

HtmlString does not contain a definition for ID and no accessible extension method ID accepting a first argument of type HtmlString could be found 

@(Html.Infragistics()
.Grid(Model)
.ID("Grid")
.Height("500px")
.Width("100%")

Parents
No Data
Reply
  • 1320
    Offline posted

    Hello,

    After investigating this further, I have determined that a possible reason for the error message could be if not all resources are added to the project. The Infragistics.Web.Mvc.dll should be added to the project or the Infragistics.Web.Mvc nugget package should be installed, as well as the css and javascript files:

    infragistics.theme.css, structure/infragistics.css, infragistics.core.js, infragistics.lob.js

    Below I am attaching the sample, demonstrating igGrid with enabled editing. Please test it on your side and let me know if you need any further information regarding this matter.

    Please note that due to the upcoming Christmas holidays you may experience a slight delay in support responses.

    Thank you for your understanding!

    Regards,
    Monika Kirkova,
    Infragistics

    igGridEditingSample.zip

Children
No Data