Hello,
I am using a RadComboBox as a selector for the number of items in a grid. What I have been using this far is the following JavaScript at the page level:
Thanks,
David
I am using a RadComboBox as a selector for the number of items in a grid. What I have been using this far is the following JavaScript at the page level:
<
script type="text/javascript">
function ddlPageSize_SelectedIndexChanged(sender, args) {
var obj = $find("<%= LineItemsGrid.ClientID %>")
tableView = obj.get_masterTableView();
tableView.set_pageSize(sender.get_value());
}
</
script>
This has been working great, however, now we have a page requiring multiple grids. We have been trying for a while to get a reference of the grid's MasterTableView by inspecting both sender and args and navegating the hierarchy. Can you provide some insight as to how this can be achieved?
Thanks,
David