This question is locked. New answers and comments are not allowed.
I have a grid that requires a ClientRowTemplate. I have the template working very well.
I need a button in that RowTemplate that calls back to a controller method through ajax. The controller method needs to perform some complex logic and then return a new set of data to the grid which the grid will then need to bind to. I thought this should work in the same fashion as an ajax binding. For instance a select that calls a method through ajax that is attributed with the [GridAction] attribute and then has an IQueryable returned.
I have seen how to add an edit and delete buttons in a ClientRowTemplate, but how do I add a custom button that will function basically the same way as an edit button?
Thanks!
I need a button in that RowTemplate that calls back to a controller method through ajax. The controller method needs to perform some complex logic and then return a new set of data to the grid which the grid will then need to bind to. I thought this should work in the same fashion as an ajax binding. For instance a select that calls a method through ajax that is attributed with the [GridAction] attribute and then has an IQueryable returned.
I have seen how to add an edit and delete buttons in a ClientRowTemplate, but how do I add a custom button that will function basically the same way as an edit button?
Thanks!