Wrox Programmer Forums
|
Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 22nd, 2011, 04:13 AM
Authorized User
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
Unhappy File Upload trouble again

Hi,

Let me explain my problem in detail.

I have a Simple Login system, where each user can upload files to the server.

So, for this i have kept FILEUPLOAD tool.

But before Uploading the file I have to check if that file already exists on the server, if it exists then User should get a confirmation Whether he wants to Replace file or not.

So, what i have done is that i have kept a PANEL control, In this control I have written the text DO YOU WANT TO REPLACE FILE. And there are 2 buttons YES & NO.
This panel i have kept hidden.

On file exists i make this PANEL visible through Javascript.

But when on making PANEL visible by Javascript, still didn't work. The Value of FILEUPLOAD still gets Lost.
And an empty file gets Replaced.

How to solve this thing.

Thank You.....!!
 
Old January 22nd, 2011, 04:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Why do you start a new thread for the same thing? Aren't we discussing this here: File Upload trouble and here: Call a Server side function from Javascript

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 22nd, 2011, 04:34 AM
Authorized User
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Imar View Post
Why do you start a new thread for the same thing? Aren't we discussing this here: File Upload trouble and here: Call a Server side function from Javascript

Imar
Yes,

I thought i made a mistake by not telling the problem in detail.

That's why started a new fresh thread to resolve my mistake.

Thank You....for Help.....!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6, Ajax File Manager, error in upload.php file kenj BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 4 June 4th, 2010 08:46 PM
Clear the filepath details of File Upload Control after saving a file DineshGirij008 C# 2005 0 March 7th, 2009 03:52 AM
Trouble in this line 'Upload.SaveAs("Path")' tarduk2004 General .NET 2 May 3rd, 2007 07:32 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.