I have situation.
in my asp.net application I have web page which has a master page.
User can create an PDF file at the run time by using this form. on the form i have few grid, labels controls which I am using to get data for PDF file.
Now my clients said he want to create the same pdf file from a different web form.
I am trying to avoid copying same code.
I need to know can create an object of my web form class in my second web form and call the Create pdf method to create the pdf file.
but I also want to load all controls so that pdf have the correct values.