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
45
Incorrect sample on http://www.igniteui.com/grid/rest-editing
posted

Hi,

I tried to play with REST sample at http://www.igniteui.com/grid/rest-editing, but when it comes to running, it throws the following exception in browser:

Compiler Error Message: CS1061: 'System.Web.Mvc.MvcHtmlString' does not contain a definition for 'ID' and no extension method 'ID' accepting a first argument of type 'System.Web.Mvc.MvcHtmlString' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 16:     @(Html.Infragistics()
Line 17:             .Grid(Model)
Line 18:             .ID("Grid")
Line 19:             .Height("500px")
Line 20:             .Width("100%")
I don't quite understand what's the right syntax for the layout file should be used. Any ideas?
Parents
No Data
Reply
  • 15320
    Offline posted

    Hello markhill01,

    It seems that the sample already works properly. I tested it on my side and it doesn't throw any errors. Could you please verify that it works properly on your side too? If you need further assistance, feel free to contact me.

    Regards,

    Tsanna

Children
No Data