Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Double Postback using a .aspx submit page to process a PDF

Double Postback using a .aspx submit page to process a PDF

Scheduled Pinned Locked Moved ASP.NET
helpadobequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zhat
    wrote on last edited by
    #1

    We have several PDF forms that we use, which call a submit.aspx to do some emailing of the form data as well as document storage (ImageRight). Every time we submit the PDF, it calls the Page_Load sub twice. I realize this COULD be an Adobe issue but we're not getting much response from them and I feel there might be some way to check why it's happening in the code and capture it so we can stop the second process. Anyone else ever see this problem?

    D 1 Reply Last reply
    0
    • Z Zhat

      We have several PDF forms that we use, which call a submit.aspx to do some emailing of the form data as well as document storage (ImageRight). Every time we submit the PDF, it calls the Page_Load sub twice. I realize this COULD be an Adobe issue but we're not getting much response from them and I feel there might be some way to check why it's happening in the code and capture it so we can stop the second process. Anyone else ever see this problem?

      D Offline
      D Offline
      Dave Doknjas
      wrote on last edited by
      #2

      If the Page_Load method is written in VB and it has a 'Handles' clause and also you have 'AutoEventWireup' set to 'true' on the aspx page, then Page_Load will fire twice. ('AutoEventWireup = true' causes all methods starting with "Page_" to be interpreted as event-handling methods for the corresponding page event). If this is the case, either drop the 'Handles' clause or set 'AutoEventWireup' to false.

      David Anton http://www.tangiblesoftwaresolutions.com C++ to C# Converter C++ to VB Converter C++ to Java Converter VB & C# to Java Converter Java to VB & C# Converter Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: convert VB, C#, or Java to C++/CLI

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups