In MVC Custom Command Column, Name is required

3 posts, 0 answers
  1. Andy
    Andy avatar
    7 posts
    Member since:
    Mar 2014

    Posted 24 Apr 2015 Link to this post

    So through a bunch of trial and error yesterday I made the determination that the Name method is apparently required.  If the TreeListCustomCommandBuilder.Name method isn't used, the data is simply not displayed.  


    There are no clues that this field is required for the TreeList to function correctly and the API, found on page, doesn't indicate this at all.  

     Since debugging the MVC razor implementation is a pain, it would be helpful if the documentation would be corrected to indicate that it is required and if an exception would be thrown when that method isn't called.


  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2310 posts

    Posted 28 Apr 2015 Link to this post

    Hello Andy,

    Thank you for noticing this. Indeed at the moment it is not clear that the name is mandatory. We will update the documentation and the Visual Studio intellisense.

    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Daniel
    Daniel avatar
    3 posts
    Member since:
    Jul 2015

    Posted 07 Sep 2016 Link to this post

    Thank you very much Andy!

    I was searching why my custom command button was not working and found your comment. 1 year and 4 months after your comment, the documentation still doesn't mention that the Name() method is required.


Back to Top