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

[Solved] Custom Button on a Client Row Template

0 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 1
Brian asked on 08 Mar 2012, 06:23 PM
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!
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Share this question
or