Hello,
is it possible when using the built-in PDF export functionality to make it list each grouped section (created via Ajax().Group()) onto its own page?
I'm required to create two types of reports. One that exports all items combined into a single report and a second one that exports based on grouping of a specific column. I have the grid grouped correctly but when exporting, I need each group on it's own page rather than displayed all in one grid.
Is there built-in functionality for this or a known work-around?
Thank you.
Hi,
I have a Word document I use as template, the document contains multiple sections, page breaks and column breaks. When the PDF is exported, I got every section in a new page and all pages with multiple columns render as one column.
Am I missing some setting in the export?
Thanks for the help!
Hello,
I'm looking at the "editing_custom" grid example for ASP.NET MVC and wondering if there is a way to bind the drop down without ViewData? I would like to use a generic ViewModel with Value and Text pairs similar to our existing MVC solution. I am asking this because there is no reusability when populating the CategoryViewModel and ViweData in the controller. Only the EditorTemplate can be reused.
@model Kendo.Mvc.Examples.Models.CategoryViewModel
@(Html.Kendo().DropDownListFor(m => m)
.DataValueField("CategoryID")
.DataTextField("CategoryName")
.BindTo((System.Collections.IEnumerable)ViewData["categories"])
)
Also, how do you add a "--Select a Category--" at the top of the dropdown list (in your example and in a non-ViewData approach)?
Thanks
John

Hello,
Would someone be able to offer the solution on how to get certain node's data which is dynamic loaded (load on demand)?
The case is that in my MVC project the top level node have already be loaded on TreeView . I need load second level to fourth level node based on every level's condition (on one button click). My problem is I cannot get second level's detail data (after the nodes appended to top level ) which third level depend on. When I do the debug the count of second level nodes showed correctly, but not detail data anywhere. Do you have some suggestions? Thanks in advance!
windowObject.refresh({ url: "/feedbackForm"});Something is not clicking for me on this, and I am not really sure where to start. I have what amounts to a directory structure I am sending from the server (see json below) and trying to load into the treeview. However, I am getting an error stating . Everything I have been able to find on that pretty much says that I need to define the schema. This is taking too long for me to figure out and any help would be appreciated.
01.{02. "FolderId": 1,03. "Name": "root",04. "Description": "root description",05. "Note": "root note",06. "Parent": null,07. "Children": [08. {09. "$id": "1",10. "FolderId": 2,11. "Name": "Sub Level 1",12. "Description": "Sub Level 1 description",13. "Note": "Sub Level 1 note",14. "Children": [],15. "Documents": [16. {17. "$id": "2",18. "DocumentId": 2,19. "Name": "PepsiCo Medical Test Doc with picture.docx",20. "Note": "Copied from Document.Version 1.1",21. "Description": null,22. "DocType": 1,23. "Status": 3,24. "AllVersions": [],25. "DocumentHistories": [],26. "ViewingRoles": null,27. "CurrentUserId": "00000000-0000-0000-0000-000000000000",28. "Versions": [],29. "PublishedVersion": null,30. "LatestDraftVersion": null,31. "LatestVersion": null,32. "Disposed": false33. }34. ],35. "Disposed": false36. },37. {38. "$id": "3",39. "FolderId": 3,40. "Name": "Sub Level 2",41. "Description": "Sub Level 2 description",42. "Note": "Sub Level 2 note",43. "Children": [44. {45. "$id": "4",46. "FolderId": 4,47. "Name": "Sub Level 2_1",48. "Description": "Sub Level 2_1 description",49. "Note": "Sub Level 2_1 note",50. "Children": [],51. "Documents": [52. {53. "$id": "5",54. "DocumentId": 1,55. "Name": "PepsiCo Medical Test Doc with picture.docx",56. "Note": null,57. "Description": null,58. "DocType": 1,59. "Status": 2,60. "AllVersions": [],61. "DocumentHistories": [],62. "ViewingRoles": null,63. "CurrentUserId": "00000000-0000-0000-0000-000000000000",64. "Versions": [],65. "PublishedVersion": null,66. "LatestDraftVersion": null,67. "LatestVersion": null,68. "Disposed": false69. }70. ],71. "Disposed": false72. }73. ],74. "Documents": [],75. "Disposed": false76. }77. ],78. "Documents": [],79. "Disposed": false80.}
I am trying to cascade 3 levels but is failing the 3rd drop down. Is this not possible? Everything works until I select the 500 scale then nothing else the 100 scale option does not do anything
<h4>Select Grid:</h4> @(Html.Kendo().DropDownList() .Name("MainGrid") .HtmlAttributes(new { style = "width:50%" }) .OptionLabel("Select Grid Section...") .DataTextField("Gridid") .DataValueField("Gridid") .DataSource(source => { source.Read(read => { read.Action("GetCascadeMainGrid", "GridPrint"); }); }) ) <h4 style="margin-top: 2em;">500 Scale:</h4> @(Html.Kendo().DropDownList() .Name("Grid500") .HtmlAttributes(new { style = "width:50%" }) .OptionLabel("Select Map 500 Scale...") .DataTextField("MapName") .DataValueField("Pagenumber") .DataSource(source => { source.Read(read => { read.Action("GetCascadeGrid500", "GridPrint") .Data("filterGrid500"); }) .ServerFiltering(true); }) .Enable(false) .AutoBind(false) .CascadeFrom("MainGrid") ) <button class="k-button k-primary" id="get" style="margin-top: 0em; ">Add this Grid</button> <script> function filterGrid500() { return { MainGrid: $("#MainGrid").val() }; } </script> <h4 style="margin-top: 2em;">100 Scale:</h4> @(Html.Kendo().DropDownList() .Name("Grid100") .HtmlAttributes(new { style = "width:50%" }) .OptionLabel("Select Map 100 Scale...") .DataTextField("MapName") .DataValueField("Pagenumber") .DataSource(source => { source.Read(read => { read.Action("GetCascadeGrid100", "GridPrint") .Data("filterGrid100"); }) .ServerFiltering(true); }) .Enable(false) .AutoBind(false) .CascadeFrom("Grid500") ) <button class="k-button k-primary" id="get2" style="margin-top: 0em;">Add this Grid</button> <script> function filterGrid100() { return { Grid500: $("#Grid500").val() }; } </script></div><script>

The default Kendo Grid's behavior is to display a text box for string editing. How do you change this to a textarea?
I am trying to use a EditorTemplate but cannot retrieve or pass the model's string values if I use Html.TextArea
