Hi all.
What is the easiest way to create a dojo from a MVC5 page, using the MVC wrappers?
The Telerik support asked for it to reproduce my scenario. I tried but failed at it and created a stripped down copy of my solution to give the support team a working example.
Thanks for any good ideas
Bernd

Hi,
Does the ASP.NET MVC scheduler support paging in Agenda View? I want to show no more than 10 events per page. How to implement it?
Thanks.
CK
I have created a few HtmlHelper extension methods that we use is different projects at my company, but they've usually been single level type of method calls, with a variable list of parameters. But how does Kendo create the HTML Helpers such as those found in the Telerik MVC collection, with nested method calls?
For example, I've easily create a razor helper that parses a session variable for Claim data, and return the appropriate claim value based on the type. Such as
@{ ViewBag.Title = "Vensure.Dashboard.App"; string FullName = Html.GetClaimValue("fullname"); bool isAdmin = Html.GetClaimValue("app-roles").Contains("admin");}
But the Kendo components typically have multiple methods extending the initial method. Such as:
@(Html.Kendo().DropDownList() .Name("availableClients") .DataTextField("ClientName") .DataValueField("ClientId") .DataSource(ds => ds.Read("GetClientList", "Mapping")) .Template("<span class=\"k-state-default\">#: data.ClientId # - #: data.ClientName #</span>") .ValueTemplate("<span class=\"selected-value\">#:data.ClientId# - #:data.ClientName#</span>") .HtmlAttributes(new { style = "width: 100%" }) .Events(e => e.Change("clientChange")) .OptionLabel(" -- Select Client --") .Height(400) )
I'm just curious as to what the HtmlHelper extension code looks like to support the .Method().OtherMethod().YetAnotherMethod() nested syntax...
Using this as a template: http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Editing/add-row-when-tabbed-out-of-last-row
I have made it so I can tab into the next row. But I noticed that it will always select the first required column based on data annotation, instead of the first column. Is this by design, or is there a way to set it to so that it goes to the first column always?
I have a grid with a pop-up edit form, with a cascading dropdown list. It works fine except that when choosing to add a new record, the form opens and the dropdown list shows the validation error message before the user has done anything.
I've attached a screenshot. The definition of the dropdown lists is:-
<p> <span class="fieldlabel"> System: </span> @(Html.Kendo().DropDownListFor(m => m.system).Name("system").OptionLabel("Select a system").DataValueField("Code").DataTextField("Description").DataSource(src => src.Read(rd => rd.Action("GetSystems", "Home"))) ) @Html.ValidationMessageFor(model => model.system)</p> <p> <span class="fieldlabel"> Priority: </span> @(Html.Kendo().DropDownListFor(m => m.Priority).Name("Priority").OptionLabel("Select a priority").DataValueField("Code").DataTextField("Description").DataSource(src => src.Read(rd => rd.Action("GetPriorities", "Home"))) ) @Html.ValidationMessageFor(model => model.Priority) </p> <p> <span class="fieldlabel"> Sub Category: </span> @(Html.Kendo().DropDownListFor(m => m.SubCategoryCode).Name("SubCategoryCode").OptionLabel("Select a sub category").DataValueField("Code").DataTextField("Description").DataSource(src => src.Read(rd => rd.Action("GetSubCategoriesbySystem", "Home").Data("filterSystems")).ServerFiltering(true)) .Enable(false).AutoBind(false).CascadeFrom("system") ) @Html.ValidationMessageFor(model => model.SubCategoryCode) </p>How can I stop this?
Thanks


Please see attached project, when clicking on the grid detail expand button windows scrolls to the top and a # is appended to the url in the address bar. Detail row does not expand. Works correctly in earlier versions. Did something change, am I missing a resource?
Thank you
Nik
Hi,
I am unable to use the search box when checkbox column filtering is enabled.
Please take a look at the first screenshot with the comments, describing the behavior.
Please note, the search box from the screenshot is not usable when I have grid column menu enabled and use Chrome browser.
If I disable column menu then the search box is usable.
Attached is the solution, containing the test application.
Any thoughts?
Thank you,
Vlad
