We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How I can attach file in Data Grid?

How I can attach file in Data Grid?

on Attaching file in data grid dialog the model returns not valid modelError Msg.PNG
Create Function.PNGModel.PNGNot Valid.PNG

5 Replies

VB Vinitha Balasubramanian Syncfusion Team November 10, 2022 10:18 AM

Hi Ahmed,

Greetings from Syncfusion support.

Before providing a solution to your query, we need some information to know your requirement clearly which will help us proceed further at our end. Kindly share the below details.

  1. Share whether you use uploader component or file manager component to upload.

  2. Share what type of template you have use to display while uploading the file.

  3. Share your exact requirement in detail with explanation

  4. Share the package version you are using.


Vinitha Balasubramanian

AH Ahmed November 13, 2022 09:35 AM


1- I am using uploader component in Data Grid.

3- I just want to upload file using uploader component in data grid ..Error: on uploading file it returns invalid model 

4-Package version:Syncfusion.EJ2.AspNet.Core

VB Vinitha Balasubramanian Syncfusion Team November 17, 2022 06:53 AM

We prepared a sample using uploader component to upload a file. In the below sample we have use the EJ2 Uploader control for uploading image and storing it in the back end(in base64 format) and then displaying it in the Grid. You can achieve your requirement to upload a file using this way.

 Please refer the sample for more information.

Sample: https://www.syncfusion.com/downloads/support/directtrac/341287/ze/3412871844616740.zip

AH Ahmed November 21, 2022 02:55 PM

Unfortunately, I am not able to download the sample. I get "Access denied" message as attached in the following imageimage_8.png

RS Rajapandiyan Settu Syncfusion Team November 22, 2022 05:14 AM

Hi Ahmed,

We apologize for the inconvenience. You can download the sample from the below link,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/3412871844616740_(1)-2130479609.zip

Also, please find the KB for your reference,



Rajapandiyan S

Live Chat Icon For mobile
Up arrow icon