This is a migrated thread and some comments may be shown as answers.

InCell Grid: FileUpload-column doesn't fire Save-event

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mathias
Top achievements
Rank 1
Mathias asked on 31 Jul 2012, 11:25 AM
Hello,

We have a Telerik InCell editable grid with FileUpload in use. Now we want to convert it to KendoUI. During this process we found a few bugs / misunderstandings? Hopefully, someone can help us.

For better understanding I added a sample project in which we have an InCell grid with an included FileUpload.

1. The Fileupload-Column doesn't fire the Save-Event of the Grid. With a normal TextBox the event works fine and also using the Telerik Extensions everything worked fine. What can we do? We need an event that gets fired as soon as the user leaves the edit-mode of the cell.

2. The date-column is in a completely different format than it was in the Telerik extensions. What can we do to just get Date + Time, based on the language the user uses... --> 31.07.2012 12:04

3. Problem: http://www.kendoui.com/forums/mvc/grid/ajax-binding-clienttemplate-issue-with-create-action.aspx
--> To see what this problem causes: In the attached sample project --> index.cshtml --> add the ClientTemplate (which is commented out) to the CreatedDate-row --> Start project --> Add a new row --> Error

I hope someone can help us with these three problems.

Another tipp:
4. Problem: Be aware of ClientTemplate where you use a sharp --> ClientTemplate("<a href='#'>...") --> isn't possible anymore
Solution: ClientTemplate("<a href='javascript:void(0)'>...")
--> If someone has a better solution for that - let me know :)

1 Answer, 1 is accepted

Sort by
0
Mathias
Top achievements
Rank 1
answered on 01 Aug 2012, 08:05 AM
I found a solution for the time-problem:
columns.Bound(c => c.CreatedDate).Title("Erstellt am").Width(200).Format("{0:d} {0:t}");

 

But my problem with the event still exists.

Tags
Grid
Asked by
Mathias
Top achievements
Rank 1
Answers by
Mathias
Top achievements
Rank 1
Share this question
or