Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
printing Ultrawebgrid
posted

There are a way to disable all the javascript events of the grid?

I want that the grid in the print preview page has no javascript event... i am having problems with this because the print preview page is throwing a javascript error when i move the mouse over the grid 

onmousemove='igtbl_cellMouseMove(event,"wpmxwp986637087xTabControlxxctl2xGridControl");

or

Let me know how to print the Ultrawebgrid to paper  in printerfriendly page , i am using the below given javascript to print

function Print()

var a = window.open ('','','left =' + screen.width + ',top=' + screen.height + ',width=0,height=0,toolbar=0,scrollbars=0,status=0');

//write gridview data into newly open window

a.document.write(document.getElementById('UltraWebGrid1').innerHTML)

a.document.close();

a.focus();

//call print

a.print();

a.close();

return false;

}

this works fine with Gridview but give the script error with Ultrawebgrid.

 

Parents
No Data
Reply Children
No Data