
Hello, I'm testing the checkboxes (treeview web), but I get error. The rest of the examples work very well.
This is the error.
Error 1 'Kendo.Mvc.UI.Fluent.TreeViewBuilder' does not contain a definition for 'Checkboxes' and no extension method 'Checkboxes' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.TreeViewBuilder' could be found (are you missing a using directive or an assembly reference?) c:\kendoui.trial.2012.2.710\wrappers\aspnetmvc\Examples\Areas\razor\Views\web\treeview\index.cshtml 6 18 Kendo.Mvc.Examples
Just copy and replace (in index.cshtml) entire code:
http://demos.kendoui.com/web/treeview/checkboxes.html (checkboxes.cshtml)
Use the sample project (kendoui.trial.2012.2.710.zip).
I think the problem was.
@ using (Html.BeginForm ("Checkboxes", "TreeView" FormMethod.Post))
thank you very much

I have some problem with remote validation.
There is part of model
[DisplayName("For User ID")] [Remote("CheckUserID", "User", ErrorMessage="Must be from list or Empty")] public Nullable<System.Guid> ForUserID { get; set; }View
@(Html.Kendo().ComboBoxFor(model => model.ForUserID) .HtmlAttributes(new { style = "width: 200px;" }) //.Name("ForUserID") .Filter("contains") .Suggest(true) .Text("Select user") .Placeholder("Select name if necessary") .DataTextField("UserName") .DataValueField("UserId") .AutoBind(true) .DataSource(source => { source.Read(read => { read.Action("GetUserWithId", "User"); //Set the Action and Controller name }) .ServerFiltering(false); //If true the DataSource will not filter the data on the client. }) //.Events(e => { e.Select("userNameChange"); }) .Events(e => { e.Change("userNameChange"); }) )And action in Controller
UserController
[HttpGet] public ActionResult CheckUserID(String userIdString) { if (Request.IsAjaxRequest()) { bool result = true; JsonResult res = Json(result, JsonRequestBehavior.AllowGet); return res; } return RedirectToAction("Index", "AccountBoost"); }All javaScripts for validation included into page, client validation works with Text Input that is also on this page.
I can get into action when typing in browser /User/CheckUserID .
But I never get into
CheckUserID action if I work with ComboBox.