We are currently updating an application to use MVC 6 with the current set of beta release from Telerik with the MVC wrappers.We are running into one sticking point that the demos do not address and I cannot find anywhere in the docs where it does either.
On out pages we have multiple grids with custom toolbars deployed using the common syntax
.ToolBar(toolbar =>
{
toolbar.Template(
@<text>
//Bunch of code remove for brevity
</text>);
})
However, this throws an error and upon further inspection the toolbar.Template method doesn't exist. We did find ClientTemplate but we cannot seem to get this to work. How are we supposed to implement a custom toolbar now? We saw that there may be a way in which we could specify a ViewComponent but it was not very clear.
If you could provide us an example this would go a long way to us getting this out the door.. So far all of the other controls seem to be working no problem.
Thanks,
AJ