 ASPxClientReportViewer.prototype.Print=function(pageIndex){this.execCallback("print",{idx:pageIndex!=null?pageIndex:"",wholePage:!__aspxOpera});};ASPxClientReportViewer.prototype.GotoPage=function(pageIndex){pageIndex=Math.max(0,Math.min(pageIndex,this.pageCount-1));if(pageIndex!=this.getCurrentPageIndex())this.gotoPageInternal(pageIndex);};ASPxClientReportViewer.prototype.Refresh=function(){this.gotoPageInternal(0);};ASPxClientReportViewer.prototype.Search=function(){if(this.IsSearchAllowed())this.showSearchWindow();};ASPxClientReportViewer.prototype.SaveToWindow=function(format){this.exportWindow=window.open('','_blank','toolbars=no, resizable=yes, scrollbars=yes');this.execCallback("saveToWindow",{format:format});};ASPxClientReportViewer.prototype.SaveToDisk=function(format){this.execCallback("saveToDisk",{format:format});};ASPxClientReportViewer.prototype.IsSearchAllowed=function(){try{if(document.body.createTextRange()!=null)return true;}
catch(e){}return false;};ASPxClientReportViewerPageLoadEventArgs=_aspxCreateClass(ASPxClientEventArgs,{constructor:function(pageIndex,pageCount){this.constructor.prototype.constructor.call(this);this.PageIndex=pageIndex;this.PageCount=pageCount;},IsFirstPage:function(){return this.PageIndex==0;},IsLastPage:function(){return this.PageIndex==this.PageCount-1;}}); 