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

In MVC Custom Command Column, Name is required

2 Answers 77 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 24 Apr 2015, 03:37 PM

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 http://docs.telerik.com/kendo-ui/api/aspnet-mvc/Kendo.Mvc.UI.Fluent/TreeListColumnCommandBuilder, 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.

Thanks. 

2 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 28 Apr 2015, 07:05 AM

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.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Daniel
Top achievements
Rank 1
answered on 07 Sep 2016, 09:43 PM

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.

Thanks
Daniel

Tags
TreeList
Asked by
Andy
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or