rem: grid.innerHTML = data.substr (j+1); 
add: gridData.sortDir = parseInt (data.substring (j+1, k)); grid.innerHTML = data.substr (k+1);  var page = document.getElementById(ctx + "_Page"); page.value = gridData.pageIndex; var sortExp = document.getElementById(ctx + "_SortExpression"); sortExp.value = gridData.sortExp; var sortDir = document.getElementById(ctx + "_SortDirection"); sortDir.value = gridData.sortDir; 
context: function GridView_ClientRender (data, ctx){	var gridData = eval (ctx + "_data");	var grid = document.getElementById (ctx);	var i = data.indexOf ("|");	var j = data.indexOf ("|", i+1);	gridData.pageIndex = parseInt (data.substring (0, i));	gridData.sortExp = unescape (data.substring (i+1, j));	grid.innerHTML = data.substr (j+1);}
meta: 172	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/172/901f16172bdc8485ef2d7ee60389bc013d0175a8/GridView.js/clean/mcs/class/System.Web/System.Web.UI.WebControls/GridView.js