I am using ASP.NET MVC for grid. @(Html.Kendo().grid().
I have a column, which is a date data type. I want to have a date range filter for this column. I cannot find any related tutorial about it. Please advise.
I have referenced Telerik.Web.Spreadsheet.dll and want to import an uploaded xslx to a spreadsheet in a asp.net mvc view.
I'm following this demo: http://demos.telerik.com/aspnet-mvc/spreadsheet/server-side-import-export
My code:
[HttpPost]
public ActionResult Upload(HttpPostedFileBase file)
{
var workbook = Telerik.Web.Spreadsheet.Workbook.Load(file.InputStream, Path.GetExtension(file.FileName));
return Content(workbook.ToJson(), Telerik.Web.Spreadsheet.MimeTypes.JSON);
}
The line " var workbook = Telerik.Web.Spreadsheet.Workbook.Load(file.InputStream, Path.GetExtension(file.FileName));" throws the following error:
InnerException {"Could not load file or assembly 'Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml, Version=2017.1.109.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.":"Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml, Version=2017.1.109.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"} System.Exception {System.IO.FileNotFoundException}
then I add Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll and get a similar exception for Telerik.Windows.Documents.Core.dll.
then I add Telerik.Windows.Documents.Core.dll and get a new exception type:
($exception).InnerException {"Could not load file or assembly 'Telerik.Windows.Documents.Core, Version=2017.1.109.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Telerik.Windows.Documents.Core, Version=2017.1.109.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"} System.Exception {System.IO.FileLoadException}
What dll's must I reference (and how) in a asp.net mvc project?
/Morten
HI,
I am new to Kendo Mobile.
I have some below queries.
1. How to get the swipe direction (Left/Right) of scroll view?
2. In my scenario, I am binding ScrollView with dynamic data by fetching a single item at a time. I am re-binding the same template with received data. How can i achieve paging (prev/next functionality) with the same approach?
3. Due to dynamic data, ScrollView doesn't maintain screen height properly. If data is large it hides some content if I hard code the height. How to resolve this?
Please could you answer above mentioned queries?
Thanks in advance.
I am using AngularJS with KendoUI gird and have some checkboxes in it. When i set "Editable:true" and change the checkbox, i get the event using ng-change. But when i use inline editing (editable:"inline") by adding command for Edit, i am not able to get the change event of the checkbox. Business case is on change of 1 checkbox, i have to check/uncheck other checkboxes in that grid row before saving it.
How can i get the change event for checkbox when using inline editing?
Hi, I'm new to Kendo UI
I'm facing the problem in Tool tip when it is used with filter is applied for particular range tool tip is not working for each cell.
(I've specified the link here) http://dojo.telerik.com/oLOHA/11 In this link tool tip is not working( for 1st column till 15th row) so I'm not getting the solution for this please guide me about this...
I'm new to Kendo UI
Tool tip is not working when the filter is applied for particular rage in Kendo-Spreadsheet . Some one should please guide me about this
http://dojo.telerik.com/@dahlsailrunner/uGOhO
1. The Month Date Picker filter does not seem to work. I'm pretty sure on this one I'm just doing something wrong and need some guidance. I've got a date (always the first of the month) displaying in MMM-yy format in the grid, and would like a date picker filter for the months to work as expected. Whenever I apply the date filter though, no results are shown. Any help here is greatly appreciated.
2. This next problem is more weird. I've added functionality to go elsewhere when you double-click a row in the grid (it will just show an alert with the selected community on the dojo example). This works fine, but if you sort the portfolio column a time or two the behavior gets strange -- and will not always show you the row that you double-clicked. Can you help me figure out how to ensure that the double-clicked row is always the one that is marked as selected? Have I done something wrong with the data source schema or the definition of the grid?
Thanks in advance for your help.
-Erik
Hi, I'm new to Kendo UI
I'm facing the problem in Spreadsheet when Tool tip is used with filter is applied for particular range tool tip is not working for each cell.
(I've specified the link here) http://dojo.telerik.com/oLOHA/11 In this link tool tip is not working( for 1st column till 15th row) so I'm not getting the solution for this please guide me about this...
Can someone explain why the transform is not being applied to the shape?
The second (red) square should be half the size of the first (blue) square.
http://dojo.telerik.com/@Harold@/IqoFa
<!DOCTYPE html>
<html>
<head>
<title>TransformScale</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.default.min.css">
<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/angular.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.mobile.all.min.css">
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/jszip.min.js"></script>
</head>
<body>
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram();
var diagram = $("#diagram").getKendoDiagram();
// Shape 1 (blue)
var shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 10, width: 200, height: 200, fill: "blue" });
diagram.addShape(shape);
// Shape 2 (red)
shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 300, width: 200, height: 200, fill: "red" });
var geom = kendo.geometry;
shape.transform = geom.transform().scale(.5);
diagram.addShape(shape);
</script>
</body>
</html>