Brad Sumner
Top achievements
Rank 1
Brad Sumner
asked on 06 Jun 2012, 09:08 PM
I'm getting the following error when trying to place an upload element in a script template. The file select button appears with the Kendo UI formatting but the error below is generated when clicking edit or add new. I'm using the scripts from the Q2 2012 Beta that works with ASP.NET MVC.
SCRIPT438: Object doesn't support property or method 'value'
kendo.web.min.js, line 8 character 75690
<
input
name
=
"photos"
id
=
"photos"
type
=
"file"
data-role
=
"upload"
/>
Thanks,
Brad
5 Answers, 1 is accepted
0
Hello Brad,
I am afraid I cannot understand your case completely. Could you please provide some additional information about your scenario, what browser and Kendo widgets you are using or a code snippets demonstrating your current implementation? I will appreciate if you could send me a small but runnable project that reproduces the issue. Please provide such example and I will check it right away.
Thank you in advance.
Kind regards,
Alexander Valchev
the Telerik team
I am afraid I cannot understand your case completely. Could you please provide some additional information about your scenario, what browser and Kendo widgets you are using or a code snippets demonstrating your current implementation? I will appreciate if you could send me a small but runnable project that reproduces the issue. Please provide such example and I will check it right away.
Thank you in advance.
Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brad Sumner
Top achievements
Rank 1
answered on 11 Jun 2012, 02:32 PM
Alexander,
Attached is one of the kendo samples with an upload element in the edit template. The sample includes references to the script files on your cdn...
http://code.jquery.com/jquery-1.7.1.min.js
http://cdn.kendostatic.com/2012.1.515/js/kendo.all.min.js
as well as a reference to the mvc beta script files which are inclided in the zip. The file input element seems to work fine against the cdn referenced files but not the mvc beta files. The zip file has the cdn referenced files commented out so it should run against the mvc beta scripts when you run it.
Thanks for your help!
Brad
Attached is one of the kendo samples with an upload element in the edit template. The sample includes references to the script files on your cdn...
http://code.jquery.com/jquery-1.7.1.min.js
http://cdn.kendostatic.com/2012.1.515/js/kendo.all.min.js
as well as a reference to the mvc beta script files which are inclided in the zip. The file input element seems to work fine against the cdn referenced files but not the mvc beta files. The zip file has the cdn referenced files commented out so it should run against the mvc beta scripts when you run it.
Thanks for your help!
Brad
0
Accepted
Hello Brad,
Thank you for providing the sample project. It seems that this is a bug in the latest versions, I forwarded the issue to the developers and it will be fixed in the next release.
As a small sign of our appreciation for your discovery I have updated your Telerik points.
Regards,
Alexander Valchev
the Telerik team
Thank you for providing the sample project. It seems that this is a bug in the latest versions, I forwarded the issue to the developers and it will be fixed in the next release.
As a small sign of our appreciation for your discovery I have updated your Telerik points.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Yaniv
Top achievements
Rank 1
answered on 15 Jul 2013, 12:13 PM
Can you give an example of how to place Async Upload in a template
thanks
Yaniv
thanks
Yaniv
0
Hi Yaniv,
Could you please specify what issues you encountered? Did you receive any JavaScript errors?
Can you please provide the relevant code so I can examine your case in details.
Regards,
Alexander Valchev
Telerik
Could you please specify what issues you encountered? Did you receive any JavaScript errors?
Can you please provide the relevant code so I can examine your case in details.
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!