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. Ajax problem

Ajax problem

Scheduled Pinned Locked Moved ASP.NET
helpannouncement
5 Posts 4 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.
  • K Offline
    K Offline
    krishnaveer
    wrote on last edited by
    #1

    Hi i am using update panel in which there is a file upload control but this file upload control is not working in update panel error which i am getting "object reference is not set" how con i resolve this issue please help me

    krishna veer singh

    P S 2 Replies Last reply
    0
    • K krishnaveer

      Hi i am using update panel in which there is a file upload control but this file upload control is not working in update panel error which i am getting "object reference is not set" how con i resolve this issue please help me

      krishna veer singh

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      krishnaveer wrote:

      error which i am getting "object reference is not set"

      Can you show the code you are using? More than likely, you are missing a new somewheres.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      K 1 Reply Last reply
      0
      • P Paul Conrad

        krishnaveer wrote:

        error which i am getting "object reference is not set"

        Can you show the code you are using? More than likely, you are missing a new somewheres.

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        K Offline
        K Offline
        krishnaveer
        wrote on last edited by
        #3

        If FileUpload_Con.PostedFile.FileName <> Nothing Then files = Path.GetFileName(FileUpload_Con.PostedFile.FileName) FileUpload_Con.SaveAs(Server.MapPath("Logo_Image/" & Path.GetFileName(FileUpload_Con.PostedFile.FileName) & "")) this is my code

        krishna veer singh

        K 1 Reply Last reply
        0
        • K krishnaveer

          If FileUpload_Con.PostedFile.FileName <> Nothing Then files = Path.GetFileName(FileUpload_Con.PostedFile.FileName) FileUpload_Con.SaveAs(Server.MapPath("Logo_Image/" & Path.GetFileName(FileUpload_Con.PostedFile.FileName) & "")) this is my code

          krishna veer singh

          K Offline
          K Offline
          K P Kannan
          wrote on last edited by
          #4

          I suspect File upload control will not work in UpdatePanel. You need to run that outside of UpdatePanel or have that upload alone happening in a new popup window or IFrame. K.P.Kannan

          1 Reply Last reply
          0
          • K krishnaveer

            Hi i am using update panel in which there is a file upload control but this file upload control is not working in update panel error which i am getting "object reference is not set" how con i resolve this issue please help me

            krishna veer singh

            S Offline
            S Offline
            SachinKumar M
            wrote on last edited by
            #5

            File Upload Control will not work with in Update Panel. If you want File Upload Control with in Update Panel then you need to set asp:PostBackTrigger to Update Panel.. ...

            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