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. Problems with FileUpload Inside Customized CreateUserWizard

Problems with FileUpload Inside Customized CreateUserWizard

Scheduled Pinned Locked Moved ASP.NET
question
3 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.
  • I Offline
    I Offline
    IamAmit
    wrote on last edited by
    #1

    Hello friends, I am using a FileUpload Control inside Customized CreateUserwizard Control. I am accessing textboxes inside the CreateUserWizard as ((TextBox)BusinessDetWizardStep.FindControl("txtfirmsname")).Text.Trim(). I also put a fileupload inside this wizard. But while catching the file in code using this code if(((FileUpload)BusinessDetWizardStep.FindControl("fileupload1")).HasFile) { } The Fileupload control does not get any file to upload...Why this is happening? What could be the cause and solution for this? Thanks...

    S 1 Reply Last reply
    0
    • I IamAmit

      Hello friends, I am using a FileUpload Control inside Customized CreateUserwizard Control. I am accessing textboxes inside the CreateUserWizard as ((TextBox)BusinessDetWizardStep.FindControl("txtfirmsname")).Text.Trim(). I also put a fileupload inside this wizard. But while catching the file in code using this code if(((FileUpload)BusinessDetWizardStep.FindControl("fileupload1")).HasFile) { } The Fileupload control does not get any file to upload...Why this is happening? What could be the cause and solution for this? Thanks...

      S Offline
      S Offline
      s hatchard
      wrote on last edited by
      #2

      Are you using the fileupload within an updatepanel by any chance?

      I 1 Reply Last reply
      0
      • S s hatchard

        Are you using the fileupload within an updatepanel by any chance?

        I Offline
        I Offline
        IamAmit
        wrote on last edited by
        #3

        Thanks for the reply.. I am not using fileupload within UpdatePanel. The FileUpload is contained within WizardStep directly..

        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