Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

While Saving i Call Print method also through client scriptmanager,after opend print page,when going to second entry the page was hanged,button are not working In Chrome Browers,and other browers are working fine.

if any body knows this issue ..please update me

thanks and regards,
Prakash M
Posted
Comments
Ajith K Gatty 5-Jun-14 5:32am    
Post your code please!!!

1 solution

If you are using ajax then update panel will stop page refresh at the time if you are using control side event to print any document. Then it needs to page refresh other wise it will not work.
For this you have to use AsyncPostBackTrigger

The <asp:asyncpostbacktrigger xmlns:asp="#unknown"> element is particularly useful in that it can target any event from a Control that exists as a child of any UpdatePanel control in the unit of encapsulation, not just the UpdatePanel under which this trigger is a child. Thus, any control can be made to trigger a partial page update.
<triggers>
 <asp:asyncpostbacktrigger controlid="Button1">
 EventName="Click" /> 
 </asp:asyncpostbacktrigger></triggers> 

Get more details from following link
understanding-asp-net-ajax-updatepanel-triggers[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900