File Upload within Modal Pop-up

Posted on 2011-10-10
Last Modified: 2012-05-12
I am having a problem with file upload within a Modal Popup.  I understand the file upload gets its value on the postback event.  How do I make it so that file upload retrieves its value without the Modal Popup closing.  I do not want to use the show function.
Question by:BlueYonder
    LVL 43

    Expert Comment

    What has a general 'modal popup' got to do with a general 'file upload' and a 'postback event' ?
    LVL 9

    Assisted Solution

    I'm using the Ajax Modal Popup within a update panel which is a custom control.  The control does not capture the information in the file upload control and is null unless a postback occurs.
    LVL 9

    Accepted Solution

    I used the asynchronousfileuplod control and OnUploadedComplete event to obtain the file without completing a postback.
    LVL 9

    Author Closing Comment

    I searched for a solution and found it myself.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now