Click here to Skip to main content
15,885,998 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello

I'm developing a web application on Visual Studio Web Developer 2010. I have a page with Calendar Extender controls and a gridview that list some information depending from the date range given. To generate a "report" about the list I generate a PDF file using ItextSharp library and works very good, but, them that the table from gridview is written on PDF file appear some code on javascript:

//(function() {var fn = function() {$get("ctl00_ToolkitScriptManager1_HiddenField").value =
'';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();//


I have other page using the same function to convert PDF's files and works good, the only difference is that pages don't have ajax controls, so this code comes from ToolkitScriptManager.

I don't have idea about why presents this behavior.

I'm using Ajax Control Toolkit 3.5 - upload in September 2012 release.

Any idea about this problem?

Thanks for your time.
Posted

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