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

2 posts, 0 answers
  1. Ignacio
    Ignacio avatar
    1 posts
    Member since:
    Sep 2012

    Posted 20 Sep 2012 Link to this post

    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

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 posts

    Posted 24 Sep 2012 Link to this post

    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!
Back to Top