so i have my grid change the height on pane collpase using the function applyHeight below on the onclientcollapsing on radpane
function applyHeight(sender, args) {
var grid;
// set height to the whole RadGrid control
grid = $find("<%= grid_Historical_Commodity.ClientID %>");
grid.get_element().style.height ="580px";
grid.repaint();
}
however when i click page 2 on the grid, the height of the grid went back to original height. so how do i keep the height of the grid the same after i collapse? thank you.
function applyHeight(sender, args) {
var grid;
// set height to the whole RadGrid control
grid = $find("<%= grid_Historical_Commodity.ClientID %>");
grid.get_element().style.height ="580px";
grid.repaint();
}
however when i click page 2 on the grid, the height of the grid went back to original height. so how do i keep the height of the grid the same after i collapse? thank you.