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

[Solved] Rebind a grid on change of drop down list

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 1
Steve asked on 12 Jan 2012, 01:33 PM
For some reason I am finding it extremely hard to do a simple task.

I have a drop down list of users above a grid of items associated with the user.  All I want to do is rebind the grid when the drop down list is changed to return the list of items associated with the new user.

I can easily do this with a server post but want to use the ajax features. Trouble is I cannot work out how to reference the value of my drop down list in the rebind method.

Any help will be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 1
answered on 12 Jan 2012, 05:31 PM
Discovered the solution for myself.

There is an example under "Selection / Client Selection" where selecting one grid rebinds another grid.  I used this example so that the onchange event of my drop down list rebinds the grid.

Works like a charm.
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 1
Share this question
or