Hi, I am using ASP.NET & C# for my project. So, as per my requirement I need to design & create Ignite UI grid dynamically from codebehind (aspx.cs) page. Say, I have a panel created in aspx page, I can dynamically add controls to the panel on Page_Load() event. But is there any possible way I can create the grid and add it to the panel from codebehind. Like in ASP.NET MVC, I can create a GridModel object and dynamically add columns, properties & features from controller and return the model to view. Regards Rahul S
Hello Rahul,
Please review this sample - https://www.igniteui.com/hierarchical-grid/load-on-demand
It is demonstrating the usage of GridModel and creating a grid from the model. Let me know if this is what you require or you need something more specific?
Hi Deyan,
Thank you for your quick response.
I am aware of "Load on Demand" functionality of Iggrid, But in all the examples they are trying to design the grid from controller and returning GridModel to the view. But I need the same logic to be applied in normal asp.net. i.e, creating Gridmodel and configuring it in codebehind(aspx.cs) and creating the grid dynamically from codebehind. Like say, I have a panel & I need to create the grid and add it to the panel.
Waiting for your response.
Regards,
Rahul S