Is there way or a sample code that can populate the data to grid from the upload. Here is the scenario.
I have a Kendo Upload and it is returning a Model. I want that model to populate the Grid after Save method of Kendo Upload. See the attached.
Thanks,
RLN
I have a Kendo Upload and it is returning a Model. I want that model to populate the Grid after Save method of Kendo Upload. See the attached.
Thanks,
RLN
5 Answers, 1 is accepted
0
Accepted
Hello Renan,
We have a Code Library, which demonstrates this scenario in action. You could find it on the following page.
I wish you a great day!
Regards,
Dimiter Madjarov
Telerik
We have a Code Library, which demonstrates this scenario in action. You could find it on the following page.
I wish you a great day!
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Renan
Top achievements
Rank 2
answered on 26 May 2014, 11:56 PM
Thanks for the quick reply. This is exactly what I'm looking for.
RLN
RLN
0
Hi Renan,
I am glad the information was helpful. Do not hesitate to contact us again if further issues arise.
Regards,
Dimiter Madjarov
Telerik
I am glad the information was helpful. Do not hesitate to contact us again if further issues arise.
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Renan
Top achievements
Rank 2
answered on 27 May 2014, 09:44 AM
Hi Dimiter - Another scenario. The thing here is that i am not saving the uploaded file on the database, instead, i am parsing it and it returns a json result list. What I want to happen is that, i want the json result that was called in Upload Save method and pass it on the grid datasource.
Is there a way to store or save the json result came from the save function of kendo upload?
Thanks
RLN
Is there a way to store or save the json result came from the save function of kendo upload?
Thanks
RLN
0
Hi Renan,
I am not sure that I completely understand the current scenario. Nevertheless, you could take a look at the following approach, which demonstrates how to return a JSON result as a metadata from the Upload widget save handler. If it suits the current case, you could return the Grid contents as JSON and then use the success event handler in order to set is a data for the Grid's dataSource.
I hope this information helps.
Regards,
Dimiter Madjarov
Telerik
I am not sure that I completely understand the current scenario. Nevertheless, you could take a look at the following approach, which demonstrates how to return a JSON result as a metadata from the Upload widget save handler. If it suits the current case, you could return the Grid contents as JSON and then use the success event handler in order to set is a data for the Grid's dataSource.
I hope this information helps.
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!