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

[Solved] Ajax databinding based on input fields

1 Answer 16 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.
slowpoh
Top achievements
Rank 1
slowpoh asked on 13 Apr 2012, 05:40 PM
I'm trying to create a grid with some personnel records.  I'd prefer our users to just use the built-in grouping and filtering functionality within the Telerik grid.  However, they would like to filter the data grid based on html input boxes outside the grid on the same page. So I'm trying to figure out how to ajax databind a grid based on input field values on the same page.  I'm just getting started with MVC3 and Telerik and wanted to get thoughts on the best approach to do this.

Things i'm trying to figure out:
1. Figure out how to pass the input values as routedictionaryvalues and use it in LINQ statement at controller?
2. Call the ajaxbinding controller action from javascript while passing the form elements...?

thx in advance.

1 Answer, 1 is accepted

Sort by
0
slowpoh
Top achievements
Rank 1
answered on 16 Apr 2012, 06:48 PM
I ended up getting what I needed by tapping into the client side events api - specifically the OnDataBinding event.  Should have probably thoroughly reviewed all of Telerik's documentation on this control...
thx.
Tags
Grid
Asked by
slowpoh
Top achievements
Rank 1
Answers by
slowpoh
Top achievements
Rank 1
Share this question
or