This is a migrated thread and some comments may be shown as answers.

Error: 'Kendo.Mvc.UI.Fluent.TreeViewBuilder' does not contain a definition for 'Checkboxes'

1 Answer 228 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ignacio
Top achievements
Rank 1
Ignacio asked on 20 Sep 2012, 11:41 AM

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

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 24 Sep 2012, 08:08 AM
Hello Ignacio,

The improved Checkboxes method is available in the service pack release of Kendo UI for ASP.NET MVC, which is available for customers with a subscription. With the 2012.2.710 release, you can use the CheckboxTemplate method and define the needed template manually.

All the best,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Ignacio
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or