Hi
I have upload code similar to the below and was working till recently.
Error preventing the form from being posted. but no error detail from JavaScript.
This only happen using Chrome, file Firefox no issue.
No problem when posting without the rawfile.
Can anyone help?Thanks in advance.
<script> $("#submitForm").on("click", function(e) { e.preventDefault(); // Append the desired file var formData = new FormData(); var upload = $("#files").getKendoUpload(); var files = upload.getFiles(); formData.append('files', files[0].rawFile); // Send the request $.ajax({ url: 'index.php?type=save', type: 'POST', data: formData, cache: false, contentType: false, processData: false, success: function (response) { console.log(response); } }); });</script>
Hi,
I updated to latest version of Kendo jQery R2 2022. After the update I get an horizontal line on top of the tabstrips tabs if I add this line of code,
var tabStrip1 = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
You can test to add it to your demo tabstrip code, you will get the same result.

My application includes the file: kendo.common.min.css.
In firefox I receive the following warning:
This page uses the non-standard "zoom" property. Instead, you can use calc (), or "transform" together with "transform-origin: 0 0"
Can this be solved?

Hey
I'm trying to do the most simple example in my solution, but I can't seem to get it working.
I'm using this example: http://demos.telerik.com/kendo-ui/autocomplete/angular
but getting e.removeData(....).stop is not a function.
any ideas?
Version=2021.3.1207.545, k-overlay class stopped appearing after kendo window open

I'm using Kendo JQuery with MVVM.
I would like to automatically change the value of the a variable ("label") when another variable changes ("optionId").
This is my VieModel:
var vm = kendo.observable({
optionId: '',
label: ( this.optionId == 'Spaghetti' ? "Pasta selected" : "Animal selected" ),
setOption: function( event ) {
var value = event.currentTarget.value;
this.set("optionId", value );
//this.set("label", this.optionId == 'Spaghetti' ? "Pasta selected" : "Animal" );
}
});
If I remove the commented line, it works. But that's not what I want because I would have to add that line in every method.
I thought I could write:
label: ( this.get("optionId") == etc... )
but I can't. I believe this would work.
Here is an example on Kendo Dojo. Here:
https://dojo.telerik.com/agewIWAk
Any idea?
Many thanks.

I'm using the following code to implement kendo pdf viewer on my project:
pdfViewer = $("#pdfViewer").kendoPDFViewer({
pdfjsProcessing: {
file: {
url: url,
httpHeaders: {
authorization: token
}
}
...
}).getKendoPDFViewer();Is there a way to include the Accept-Language header on the http request?
Hi!
I'm trying to render a a template that has a form in it, the form is attached to aa ActionViewModel and the source of this template is a list of this ActionViewModel from my MainViewModel. I want to add a list of nested forms as I click in "Include action" button
Here is my MainViewModel:
public class MainViewModel {
(...)
public List<ActionViewModel> ActionSet {get; set;} = new List<ActionViewModel>();
(...)
}Here is my main cshtml:
@model MainViewModel
(...)
<div class="row">
<div class="col-md-4 form-group">
<button class="k-button" title="Include action" data-bind="click: includeAction">
<i class="icon-add-2"></i> Include action
</button>
</div>
</div>
<div data-template="template-action" data-bind="source: @(model).ActionSet"></div>
(...)
<script id="template-action" type="text/x-kendo-template">
<div data-role="sgewexpandable" data-bind="value: this" style="margin-bottom: 10px;">
<div data-role="sgewexpandableheader" class="text-center">
<label data-bind="text: ActionType.Description"></label>
</div>
<div id="action#=uid#"
class="form-group">
@Html.Partial("_IncludeAction.cshtml").ToDecoded()
</div>
</div>
</script>The problem is:
My _IncludeAction.cshtml is using ActionViewModel as model, but when I try to load this page, I get an error saying it was passed MainViewModel to the partial, instead of ActionViewModel, can anybody help me?