We have a checkbox treeview representing the company's organizational structure.
Next to the treeview, is a datagrid displaying information about the subordinates within the list of selected persons within the treeview.
A stored procedure handles all the logic for which records should be returned.
It accepts a one-column table parameter that should have one record with the id of each person selected in the treeview.
So, we need help on how to have a check/uncheck in the treeview trigger a reload of the grid.
And we want to be able to preserve the DataSourceRequest functionality handling sorting/filtering/paging/... as well.
Can someone please help us with a general idea and/or some code snippets to point us in the proper direction?
Even a very basic dropdownlist communicating to a grid would be sufficient. We are familiar enough with jquery to bind all the nuances of the checkboxes within the treeview.
Thank you,
Joe
Next to the treeview, is a datagrid displaying information about the subordinates within the list of selected persons within the treeview.
A stored procedure handles all the logic for which records should be returned.
It accepts a one-column table parameter that should have one record with the id of each person selected in the treeview.
So, we need help on how to have a check/uncheck in the treeview trigger a reload of the grid.
And we want to be able to preserve the DataSourceRequest functionality handling sorting/filtering/paging/... as well.
Can someone please help us with a general idea and/or some code snippets to point us in the proper direction?
Even a very basic dropdownlist communicating to a grid would be sufficient. We are familiar enough with jquery to bind all the nuances of the checkboxes within the treeview.
Thank you,
Joe