IgniteUI is a product kit, introduced by the company Infragistics. Here, we are going to use the Grid controls available in the kit. We will create an MVC Application in Visual Studio. I hope you will like this.
Background
As I am an MVP in C # Corner, I got a chance to be a part of the C# Corner Annual Conference 2016. We were offered the ultimate license of the IgniteUI product. I would like to thank Mr.Jason Beres and Mr.Dhananjay Kumar for this.
Now, let us come to the point, if you don’t have any license, no worries, you can always give an evaluation a try. If you wish to do so, please download the toolkit from here.
Download source code
PrerequisitesAs I said in the introduction part, we are going to create an IgniteUI grid in MVC Application, so you must have a Visual Studio, installed in your machine.
- Visual Studio
- SQL
Table of Contents
- Download and install IgniteUI.
- Configure MVC Application.
- Set up a database.
- Creating models and entity.
- Creating IgniteUI Grid.
Download and install IgniteUI
Once you download the needed files from the download link provided above, you are good to go and install it in your machine. Extract the downloaded file. Now, double click on the exe file named Infragistics_20161_Platform. Please apply your license key, if you have or you can use it as a trial. I am going to apply the license key which I got.

Select the components you require.

Now, the installing will get started.

Installing IgniteUI
Once, the installing is finished, you will see a pop up as preceding. You will be given a chance to register your product there and be a part of the forum and community.

Configure MVC Application
As you have finished your installing, we can create an MVC Application now. Open your Visual Studio and click new project. Name your project. Here, I am going to name my project as IgniteUIGrid. Select MVC template and click OK.
Click the reference and add DLL reference of IgiteUI from C:\Program Files (x86)\Infragistics\2016.1\Ignite UI\MVC\MVC6\Bin\dnx451 or from which ever folder, you installed IgniteUI.

Thus, we have set our Application, ready for the action.
Set up database
- USE [master] GO
- /****** Object: Database [TrialsDB] Script Date: 5/12/2016 10:56:41 AM ******/
- CREATE DATABASE [TrialsDB] CONTAINMENT = NONE ON PRIMARY (
- NAME = N 'TrialsDB', FILENAME = N 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\TrialsDB.mdf',
- SIZE = 3072KB, MAXSIZE = UNLIMITED,
- FILEGROWTH = 1024KB
- ) LOG ON (
- NAME = N 'TrialsDB_log', FILENAME = N 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\TrialsDB_log.ldf',
- SIZE = 1024KB, MAXSIZE = 2048GB, FILEGROWTH = 10 %
- ) GO ALTER DATABASE [TrialsDB]
- SET
- COMPATIBILITY_LEVEL = 110 GO IF (
- 1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')
- ) begin EXEC [TrialsDB].[dbo].[sp_fulltext_database] @action = 'enable' end GO ALTER DATABASE [TrialsDB]
- SET
- ANSI_NULL_DEFAULT OFF GO ALTER DATABASE [TrialsDB]
- SET
- ANSI_NULLS OFF GO ALTER DATABASE [TrialsDB]
- SET
- ANSI_PADDING OFF GO ALTER DATABASE [TrialsDB]
- SET
- ANSI_WARNINGS OFF GO ALTER DATABASE [TrialsDB]
- SET
- ARITHABORT OFF GO ALTER DATABASE [TrialsDB]
- SET
- AUTO_CLOSE OFF GO ALTER DATABASE [TrialsDB]
- SET
- AUTO_CREATE_STATISTICS ON GO ALTER DATABASE [TrialsDB]
- SET
- AUTO_SHRINK OFF GO ALTER DATABASE [TrialsDB]
- SET
- AUTO_UPDATE_STATISTICS ON GO ALTER DATABASE [TrialsDB]
- SET
- CURSOR_CLOSE_ON_COMMIT OFF GO ALTER DATABASE [TrialsDB]
- SET
- CURSOR_DEFAULT GLOBAL GO ALTER DATABASE [TrialsDB]
- SET
- CONCAT_NULL_YIELDS_NULL OFF GO ALTER DATABASE [TrialsDB]
- SET
- NUMERIC_ROUNDABORT OFF GO ALTER DATABASE [TrialsDB]
- SET
- QUOTED_IDENTIFIER OFF GO ALTER DATABASE [TrialsDB]
- SET
- RECURSIVE_TRIGGERS OFF GO ALTER DATABASE [TrialsDB]
- SET
- DISABLE_BROKER GO ALTER DATABASE [TrialsDB]
- SET
- AUTO_UPDATE_STATISTICS_ASYNC OFF GO ALTER DATABASE [TrialsDB]
- SET
- DATE_CORRELATION_OPTIMIZATION OFF GO ALTER DATABASE [TrialsDB]
- SET
- TRUSTWORTHY OFF GO ALTER DATABASE [TrialsDB]
- SET
- ALLOW_SNAPSHOT_ISOLATION OFF GO ALTER DATABASE [TrialsDB]
- SET
- PARAMETERIZATION SIMPLE GO ALTER DATABASE [TrialsDB]
- SET
- READ_COMMITTED_SNAPSHOT OFF GO ALTER DATABASE [TrialsDB]
- SET
- HONOR_BROKER_PRIORITY OFF GO ALTER DATABASE [TrialsDB]
- SET
- RECOVERY FULL GO ALTER DATABASE [TrialsDB]
- SET
- MULTI_USER GO ALTER DATABASE [TrialsDB]
- SET
- PAGE_VERIFY CHECKSUM GO ALTER DATABASE [TrialsDB]
- SET
- DB_CHAINING OFF GO ALTER DATABASE [TrialsDB]
- SET
- FILESTREAM(NON_TRANSACTED_ACCESS = OFF) GO ALTER DATABASE [TrialsDB]
- SET
- TARGET_RECOVERY_TIME = 0 SECONDS GO ALTER DATABASE [TrialsDB]
- SET
- READ_WRITE GO
- USE [TrialsDB]
- GO
- /****** Object: Table [dbo].[Product] Script Date: 5/12/2016 10:54:48 AM ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[Product](
- [ProductID] [int] NOT NULL,
- [Name] [nvarchar](max) NOT NULL,
- [ProductNumber] [nvarchar](25) NOT NULL,
- [MakeFlag] [bit] NOT NULL,
- [FinishedGoodsFlag] [bit] NOT NULL,
- [Color] [nvarchar](15) NULL,
- [SafetyStockLevel] [smallint] NOT NULL,
- [ReorderPoint] [smallint] NOT NULL,
- [StandardCost] [money] NOT NULL,
- [ListPrice] [money] NOT NULL,
- [Size] [nvarchar](5) NULL,
- [SizeUnitMeasureCode] [nchar](3) NULL,
- [WeightUnitMeasureCode] [nchar](3) NULL,
- [Weight] [decimal](8, 2) NULL,
- [DaysToManufacture] [int] NOT NULL,
- [ProductLine] [nchar](2) NULL,
- [Class] [nchar](2) NULL,
- [Style] [nchar](2) NULL,
- [ProductSubcategoryID] [int] NULL,
- [ProductModelID] [int] NULL,
- [SellStartDate] [datetime] NOT NULL,
- [SellEndDate] [datetime] NULL,
- [DiscontinuedDate] [datetime] NULL,
- [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL,
- [ModifiedDate] [datetime] NOT NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (1, N'Adjustable Race', N'AR-5381', 0, 0, NULL, 1000, 750, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'694215b7-08f7-4c0d-acb1-d734ba44c0c8', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (2, N'Bearing Ball', N'BA-8327', 0, 0, NULL, 1000, 750, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'58ae3c20-4f3a-4749-a7d4-d568806cc537', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (3, N'BB Ball Bearing', N'BE-2349', 1, 0, NULL, 800, 600, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'9c21aed2-5bfa-4f18-bcb8-f11638dc2e4e', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (4, N'Headset Ball Bearings', N'BE-2908', 0, 0, NULL, 800, 600, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'ecfed6cb-51ff-49b5-b06c-7d8ac834db8b', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (316, N'Blade', N'BL-2036', 1, 0, NULL, 800, 600, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'e73e9750-603b-4131-89f5-3dd15ed5ff80', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (317, N'LL Crankarm', N'CA-5965', 0, 0, N'Black', 500, 375, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 0, NULL, N'L ', NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'3c9d10b7-a6b2-4774-9963-c19dcee72fea', CAST(0x00009A5C00A53CF8 AS DateTime))
- INSERT [dbo].[Product] ([ProductID], [Name], [ProductNumber], [MakeFlag], [FinishedGoodsFlag], [Color], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [Size], [SizeUnitMeasureCode], [WeightUnitMeasureCode], [Weight], [DaysToManufacture], [ProductLine], [Class], [Style], [ProductSubcategoryID], [ProductModelID], [SellStartDate], [SellEndDate], [DiscontinuedDate], [rowguid], [ModifiedDate]) VALUES (318, N'ML Crankarm', N'CA-6738', 0, 0, N'Black', 500, 375, 0.0000, 0.0000, NULL, NULL, NULL, NULL, 0, NULL, N'M ', NULL, NULL, NULL,CAST(0x0000921E00000000 AS DateTime), NULL, NULL, N'eabb9a92-fa07-4eab-8955-f0517b4a4ca7', CAST(0x00009A5C00A53CF8 AS DateTime))








Sinraj VPosted Aug 19, 2016, 10:57 PM
Very nice article
Sibeesh VenuPosted Aug 1, 2016, 11:26 AM
Vignesh Mani Thanks
Vignesh ManiPosted Jul 30, 2016, 8:19 PM
Good one