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

[Solved] Need some help with setting up my grid

2 Answers 17 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.
Mike D
Top achievements
Rank 1
Mike D asked on 29 Aug 2012, 01:43 PM
I used the nuGet package to get everything loaded into my solution and I've gotten the grid to load with data on the initial page load (and there was much rejoicing).  The page is being used to edit lists of data (different tables in the db) that are used in dropdowns througout the application.  Where I'm stuck is trying to wire up the grid's select method so that I can change the underlying list of data in the grid when the value of a (Twitter Bootstrap) dropdown button changes.  I have the click event wired up, I have the value I want to pass to the Select method, I just don't know what I need to do at that point to get the new data into the grid.

TIA for any help/pointers!

Mike D

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 03 Sep 2012, 01:52 PM
Hello Mike D,

I am not sure if I understand correctly the exact scenario. If you need to change the loaded data  based on the value of a dropdown, you could use the Grid rebind method to trigger a request to the server when the value changes. To pass the currently selected value with the request, you could use the Grid OnDatabinding event.

Regards,
Daniel
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
0
Mike D
Top achievements
Rank 1
answered on 04 Sep 2012, 03:15 PM
Thanks Daniel, that's what I was looking for.  Everything is working smoothly now! 
Tags
Grid
Asked by
Mike D
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Mike D
Top achievements
Rank 1
Share this question
or