I have an application that runs to print documents. there is a tree view and grid control in the page. The treeview is enabled with the check box. there is another checkbox in the grid. based on the selection i create pdf using itextsharp and want print , download email etc. i did it but when it down loads , I need the controls to be cleared. this is not happening even i wrote the code to clear. i think the issue may be with the usage of memory stream. So what i am doing is create pdf and saved to a location. So how can I do it with javascript (the download function). My ultimate aim is to clear the controls.
Regards,
Sivajith S.