Hi, so I have a grid that shows folders and files. How do I add 2 create button in the Grid so that I can have 1 button to create Folder and 1 button to create File in MVC asp.net that calls different action in the backend? And those two create buttons needs to be using ajax.
Here is how i am doing it for 1 button:
Thanks.
Here is how i am doing it for 1 button:
.ToolBar(c => c.Create())
.DataSource(dataSource => dataSource .Ajax() .Model(model => model.Id(f => f.FileId)) .Read(read => read.Action("GridRead", "Files"))
Thanks.