Binding Expando And Dynamic Objects To The ASP.NET Core Datagrid Control

Updated on Aug 01, 2024
aspdotnetcore-datagrid aspdotnetcore-datagrid-binding aspdotnetcore-datagrid-dynamic-object-binding aspdotnetcore-datagrid-expando-object-binding aspdotnetcore-datagrid-list-binding aspdotnetcore-datatable

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.