We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Printing is not working with master page

<w:LatentStyles DefLockedState=“false” LatentStyleCount=“156”>
</w:LatentStyles>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

<![endif]–>

Hi,

Printing function is working with pages which don’t have master pages. But I’ve master page in my project. I’ve created a sample project to demonstrate this issue. Can you please help on this as soon as possible? It’s quite urgent. Please find the attached sample project (default3.aspx).

Many Thanks,

Assal

Hi,

Thanks for your posting and providing the sample project.

I have logged this issue. We will update you asap.

This issue has been logged as CELLSNET-28423.

Hi,



We have checked your project, please modify it as shown in following steps:



1. Remove onload javascript function in MasterPage.master.



2. Modify ‘print’ input button as:



<
input onclick=“printGrid1(document.getElementById(’<%= g.ClientID %>’));” type=“submit” value=“print” />


It works fine now.