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.
Unfortunately, activation email could not send to your email. Please try again.

CellEditType for data file

Thread ID:

Created:

Updated:

Platform:

Replies:

107926 Mar 23,2013 04:47 PM Apr 8,2013 05:38 AM ASP.NET MVC (Classic) 3
loading
Tags: Grid
Dejan
Asked On March 23, 2013 04:47 PM

In my scenario i'd like to have grid with posibility to add file per row.

How do i do that, i didnt find any DataFile in CellEditType

Is there any other way? 

Thanks

Hariharan J V [Syncfusion]
Replied On March 27, 2013 07:37 AM

Hi Dejan,

Thank you for your interest in syncfusion products.

We regret to let you know that currently we don’t have file type support in CellEditType. We suspect your requirement is to have upload control option and upload certain file. Could you please provide more information about your requirement that what type of file you mean like image or some thing else.

Please let us know if you have any queries.

Thanks,


Dejan
Replied On April 1, 2013 07:08 AM

 We suspect your requirement is to have upload control option and upload certain file.

This is correct.

The best scenario would be to support inline changes too but that's is must requirement.

What i'm trying to achive is, when having my grid that when adding/editing data i can upload files to that specific row.

Ranjithkumar R G [Syncfusion]
Replied On April 8, 2013 05:38 AM

Hi Dejan,

 

Thanks for your update.

 

Your requirement of having UploadBox for each rows in grid and uploading files for specific rows can be achieved by having UploadBox in ItemTemplate of Grid. Please refer to the code snippet below.

 

[ASPX]

 

   <syncfusion:GridColumnDescriptor MappingName="Upload">
                        <ItemTemplate>
                        <syncfusion:UploadBox ID="UploadBox1" runat="server" 
                             ClientObjectId="UploadBoxClientObj1" UploadFolder="files"
                                    AutoFormat="Office2007 Blue" Width="100%" OnFileUploaded="file_uploaded"
                                    ShowSubmitButton="true" ViewStateMode="Enabled" />
                                    </ItemTemplate>
                        </syncfusion:GridColumnDescriptor>

 

 

Please refer to the below link to download the sample application.

 

UploadBox Column.zip

 

Please let us know if you have any concern.

 

Regards,

Ranjithkumar


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;