Please i want to add igGrid to my Index(cshtml) page (I work with Asp.Net MVC).
How can i do it? even if i'm following this example step by step but something is rong !!!
thanks for any helpful informations.
Hello Na Oumi,
Thank you for posting in our forum.
This help topic provides a detailed explanation on how to use the Ignite UI MVC Helpers and configure the igGrid in an MVC application:
There are two possible syntax variations that could be used when declaring the igGrid in an MVC scenario:
Here is a code sample that declares a simple igGrid in the View by using the Chaining syntax:
If you need any additional assistance, feel free to contact me.
Thank you for your answer and your time,
I'm trying your example right now,
Thank you again.
I am glad that you find my answer helpful.
Feel free to contact me if you have any additional questions regarding this matter.
What kind of error message do you get when trying to run the code?
If possible, please provide the error stack-trace and the grid initialization configuration, or the whole sample?
Also, did you try running the MVC sample I sent you? It has an igGrid with a simple configuration for demonstration purposes.
When I run the MVC sample i got this error
And in visual studio this
even if i have already added the infragistics's reference
Thanks a lot for your time.
This error message might appear if the namespaces in the application have been changed, but the Global.asax file has not been updated accordingly. Try the following:
In case that doesn’t solve the problem, try deleting the Global.asax file and generating a new one by following the approach explained in this thread: