Thanks! I already went a different route that seems to be working fine. I've included relevant JavaScript below in case anyone is interested. In my scenario, I'm auto-saving state whenever grid is databound, then loading state on initial load of page.
<
script
type
=
"text/javascript"
>
var localStorageKey = "UserAdministrationUserGridOptions";
$(function () {
// pull client grid state and apply to grid (filters, current page, sorts, etc).
setGridOptions();
// toolbar is cleared after pulling grid options, so we must run after grid options are set
intializeGridToolbars();
});
function onDataBound(arg)
{
var grid = $("#UserAdministrationUserGrid").data("kendoGrid");
localStorage[localStorageKey] = kendo.stringify(grid.getOptions());
}
function setGridOptions()
{
var options = localStorage[localStorageKey];
if (options) {
$("#UserAdministrationUserGrid").data("kendoGrid").setOptions(JSON.parse(options));
}
}
function intializeGridToolbars()
{
var html = '<
div
class
=
"k-header k-grid-toolbar k-grid-top"
><
button
class
=
"k-button k-button-icontext createNewUserButton"
><
span
class
=
"k-icon k-i-plus"
></
span
>Create New User</
button
><
button
class
=
"k-button k-button-icontext kendoGridExportCustomButton"
><
span
class
=
"k-icon k-i-excel"
></
span
>Export to Excel</
button
><
div
>';
$(html).insertBefore("#UserAdministrationUserGrid .k-grid-header");
}
</
script
>