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