Hi team,
This dojo to illustrate the problem: https://dojo.telerik.com/inukEneV
In this dojo, i want to export selected rows to excel with exportSelectedToExcel(true). Rows are selected by clicking checkboxes.
What I experience:
- Column headers are duplicated in excel file, one for each row when selecting row with checkboxes. When selecting rows by dragging the mouse (not clicking the checkbox), it seems to work. (screenshot 1)
- Many times, when selecting rows by clicking checkbox mixed with dragging mouse to select, I can get an excel file with rows that were not selected! (screenshot2) Quite strange.
Please advise,
Best regards,
Laurent.
How to leave the NumericTextBox format in Brazilian Portuguese? I already left it that way but it doesn't work, returns the error:
<template>
<div class="example-wrapper row">
<div class="col-xs-12 col-sm-6 example-col">
<localization :language="'pt-br'">
<intl :locale="'pt-br'">
<p>NumericTextBox</p>
<numerictextbox :default-value="123.45" :format="'c'">
</numerictextbox>
<p>Slider</p>
<slider
:buttons="true"
:step="1"
:default-value="7"
:min="1"
:max="10"
>
</slider>
</intl>
</localization>
</div>
</div>
</template>
<script>
import {
IntlProvider,
load,
loadMessages,
LocalizationProvider
} from "@progress/kendo-vue-intl";
import { NumericTextBox, Slider } from "@progress/kendo-vue-inputs";
import likelySubtags from "cldr-core/supplemental/likelySubtags.json";
import currencyData from "cldr-core/supplemental/currencyData.json";
import esNumbers from "cldr-numbers-full/main/es/numbers.json";
import esCurrencies from "cldr-numbers-full/main/es/currencies.json";
load(likelySubtags, currencyData, esNumbers, esCurrencies);
import esMessages from "./es.json";
loadMessages(esMessages, "es");
export default {
components: {
numerictextbox: NumericTextBox,
slider: Slider,
intl: IntlProvider,
localization: LocalizationProvider
}
};
</script>
How to add upload widget inside form widget.
Like the combobox in the sample of forms. I need to put upload file inside the form.
thanks.
Hi all,
Is it possible to disable en hide the treeview in filemanger?
Greetings Maxime
Hi,
in Kendo Spreadsheet cell, when it's in editing, the backspace button doesn't work to cancel cell content;
any idea to resolve it?

Hello I am coming from Kendo for Core. I am trying to get data from the database but im not sure where im going wrong.
Here is my controller action and the call from the webpage.
public IActionResult GetRoles()
{
var Roles = _context.AspNetRoles.ToList();
return Json(Roles);
}
$("#grid").kendoGrid({
dataSource: {
type: "json",
transport: {
read: '../Admin/GetRoles'
},
pageSize: 20
},
This works locally but when i publish to the server it cannot find the method. I looked at the service they have posted but im not sure what i would need to do.
local does give an error but the data shows
kendo.all.js:2178 Unknown DataSource transport type 'json'.my cshtml file
@(Html.Kendo().Spreadsheet()
.Name("spreadsheet").HtmlAttributes(new { style = "width:100%;" })
)<script>
$(document).ready( function () {
var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
$.ajax({
type: "POST",
url: '@Url.Action("GetFileFromDetails", "Spreadsheets")',
contentType: "application/json; charset=utf-8",
data: { data: myData },
dataType: "json",
success: function (recData) {
//alert(recData);
spreadsheet.fromJSON(recData.response);
},
error: function (ex) {
alert(ex);
}
});
});
</script>
my controller
[HttpPost]
public ActionResult GetFileFromDetails()
{
var workbook = Workbook.Load(file.InputStream, Path.GetExtension(file.FileName));
return Content(workbook.ToJson(), Telerik.Web.Spreadsheet.MimeTypes.JSON);}
[HttpPost]
public ActionResult Upload(HttpPostedFileBase file)
{
var workbook = Workbook.Load(file.InputStream, Path.GetExtension(file.FileName));
return Content(workbook.ToJson(), Telerik.Web.Spreadsheet.MimeTypes.JSON);
}Support
I am new to Telerik Grid. This code I put together from a couple of the sites examples
to show "proof of concept" for a newly assigned project. The display of the grid works fine
if I remove the "TRANSPORT section of the datasource. The popup edit will save to the cached data but
will not call the update action as specified. As you see the data is generated as a list and converted
to JSON on entry to the view. Any assistance would be greatly appreciated. Thank you.
Bill Lawler
Below is my controller, model, and View snippets
MY CONTROLLER
public class TankTagItemVM
{
public string Tank { get; set; }
public string Level_Tag { get; set; }
public string Material_Tag { get; set; }
public string Temperature_Tag { get; set; }
public string Water_Level_Tag { get; set; }
public string Gross_Pumpable_Tag { get; set; }
public string Gross_Heel_Tag { get; set; }
public string Gross_Volume_Tag { get; set; }
public string Gross_Max_Tag { get; set; }
public string Net_Volume_Tag { get; set; }
public string Mvmt_Level_Tag { get; set; }
public string Mvmt_Gross_Pumpable_Tag { get; set; }
public string Mvmt_Gross_Heel_Tag { get; set; }
public string Mvmt_Gross_Volume_Tag { get; set; }
public string Mvmt_Gross_Max_Tag { get; set; }
public string Mvmt_Net_Volume_Tag { get; set; }
}
MY CONTROLLER
MY CSHTML
@model List<WebApplication5.Models.TankTagItemVM>
@{
ViewBag.Title = "GetTankTags";
Layout = "~/Views/Shared/_Layout.cshtml";
}
