Skip to content

A quick start ASP.NET Core web application that shows how to bind the Expando and Dynamic Objects to a Data Grid.

Notifications You must be signed in to change notification settings

SyncfusionExamples/binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid

Repository files navigation

Binding Expando and Dynamic Objects to the ASP.NET Core DataGrid Control

A quick start ASP.NET Core web application demonstrating how to bind a dynamic list of objects using Expando and Dynamic Objects using Syncfusion Grid Control.

  • ExpandoObject: Allows dynamic members to be added or removed at runtime, useful for binding data to a Data Grid without a predefined model.
  • DynamicObject: Enables runtime definition of object structure and behavior by inheriting from DynamicObject and overriding methods like TryGetMember, TrySetMember, and GetDynamicMemberNames.

Documentations:


Demo: https://ej2.syncfusion.com/aspnetcore/Grid/DefaultFunctionalities#/fluent

Project pre-requisites

Make sure you have compatible versions of the following IDE and framework installed on your machine before starting this project:


To learn more about the supported IDE and frameworks for our ASP.NET Core controls, please refer to the documentation below: https://ej2.syncfusion.com/aspnetcore/documentation/system-requirements

How to run this application:

To run this application, you need to clone the binding-expando-and-dynamic-objects-to-the-aspdotnet-core-datagrid repository and open it in Visual Studio. Install the necessary NuGet packages via the package manager, then build and run the project using the Visual Studio interface.