2 Replies - 304 Views - Last Post: 03 October 2012 - 07:37 AM Rate Topic: -----

#1 maloon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 07-March 09

need to close application to get new pdf

Posted 03 October 2012 - 01:04 AM

 protected void btnPrint_Click(object sender, EventArgs e)
        {
            rptSatisFisi raport = new rptSatisFisi(kayitNo);

            raport.ExportToPdf(HttpRuntime.AppDomainAppPath + @"Temp/" + Session.SessionID + "/" + "rptSatisFisi.pdf");
            fonksiyonlar.PopUpAc(this.Page, "/fastsoftdepo/Temp/" + Session.SessionID + "/" + "rptSatisFisi.pdf");
        }



I export to pdf but while application is running i get same page, when i close my application i get new one. As far as i think i need to kill session each time click print button

Is This A Good Question/Topic? 0
  • +

Replies To: need to close application to get new pdf

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6033
  • View blog
  • Posts: 23,414
  • Joined: 23-August 08

Re: need to close application to get new pdf

Posted 03 October 2012 - 02:29 AM

Moved to C#.

C# Advanced Discussion is not for help questions.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 3450
  • View blog
  • Posts: 10,649
  • Joined: 05-May 12

Re: need to close application to get new pdf

Posted 03 October 2012 - 07:37 AM

There is not enough information in your question. What class is rptSatisFisi ? Is it a custom class, something from a 3rd party, or one of the Microsoft classes? Does it need a Close(), Flush(), or Dispose() method to be called?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1