form = ALL_FORMS[0].Form.FormTemplate; var grid = ALL_FORMS[0].Form.FormTemplate.GetControl("dg_GridRequestHistory").InputControl.CTRL_GRID; var kendo_Grid = $(dg_GridRequestHistory).data("kendoGrid"); var_Image = form.GetControl("c_Image").GetValue(); var mywindow = window.open('', 'PRINT', 'height=820,width=1320px'); var keepColors = ''; mywindow.document.write(''+keepColors+''+document.title+''); mywindow.document.write(''); mywindow.document.write('

تاریخچه درخواست

'); mywindow.document.write('
'); mywindow.document.write('
'+document.getElementById("dg_GridRequestHistory").innerHTML)+'
'; (document.getElementById("dg_GridRequestHistory")) mywindow.document.write(''); mywindow.document.close(); mywindow.focus(); mywindow.print(); mywindow.close(); var kendo_Grid = $(dg_GridRequestHistory).data("kendoGrid"); form.GetControl("c_Image").SetValue(var_Image);