473,569 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ajax (Atlas) and FileUpload

I've got a FileUpload control placed on a web page. The control is
embedded inside an UpdatePanel.

It uploads the file OK, but....
Load the page, click on a button to show the upload panel. Select a
file, click the upload button. File NOT uploaded.

Select the file again, and click the upload button, THEN and ONLY then
is the file uploaded.

WHY?

How can I get the file to upload the first time?

Nov 1 '07 #1
1 1473
Hi,
Unfortunatelly FileUpload does not work fine with an UpdatePanel. So you
better get it outside of it.

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Code Monkey" <dl********@gma il.comwrote in message
news:11******** **************@ 50g2000hsm.goog legroups.com...
I've got a FileUpload control placed on a web page. The control is
embedded inside an UpdatePanel.

It uploads the file OK, but....
Load the page, click on a button to show the upload panel. Select a
file, click the upload button. File NOT uploaded.

Select the file again, and click the upload button, THEN and ONLY then
is the file uploaded.

WHY?

How can I get the file to upload the first time?

Nov 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1538
by: Showjumper | last post by:
There are 3 or so different AJAX libs that are out there available for use - Anthem.NET AJAX.Net Atlas Atlas as i undserstand it is for ASP.NET 2.0. What about about the other 2? Any comments, can they be used w/ 1.1 and/or 2.0. Right now i have only 1.1 sites deployed live, just playing around w/ 2.0 on my local computer so i wouldnt use...
8
2506
by: darrel | last post by:
I'm going to be diving into ASP.net 2.0 on a small project. I'd also like to use it as an excuse to start playing with some AJAX techniques. So, that leads to the obvious question: AJAX.net vs. Atlas? Anyone have any opinions on that? It looks like Atlas is still considered 'beta' so perhaps that's one strike against it.
7
1495
by: Thirsty Traveler | last post by:
Peter Bromberg has an interesting article eggheadcafe discussing AJAX libraries. He prefers ANTHEM.NET over AJAX.NET because it doesn't break the stateful page model. Our developers are currently using AJAX.NET after extensive research because ATLAS is currently not ready for prime-time and much more verbose than AJAX.NET. I was looking at...
13
1709
by: Sharon | last post by:
Hi all, I was wondering if anyone had experience using ajax with asp.net controls. What i'm looking for, are ways to implement and possible problems. A way to implement could be rendering the control on the server side, and send the html string back to javascript. A possible problem is the control post back behavior and control view state...
5
1625
by: geekboy0001 | last post by:
Just trying to get some opinions out there... There are tons of Ajax libraries out there... Ajax.NET Professional, ComfortASP.NET, ZumiPage, etc. etc... Microsoft has their own too, Atlas. I've been looking at these and certainly there needs to be a solution that's integrated with MS.NET, easy to use, and well supported to production...
9
2131
by: RBM007 | last post by:
Hello, I have created some pages in the (old) Atlas pages and migrated to AJAX version. After the update I noticed that any page containing ASP.NET AJAX won't compile anymore. Even if the same tags and properties are used in a page without a masterpage. Does anyone shares this exprerience with me or does anyone knows an answer? For the...
2
2416
by: Rahul | last post by:
I am trying the following thing in AJAX <atlas:ScriptManager ID="scriptmanager1" runat="Server" EnablePartialRendering="true" /> <asp:DropDownList ID="cmbBranchname" cssclass="Combostyle" runat="server" /> <br/> <atlas:UpdatePanel ID="panel1" runat="server" UpdateMode="Conditional" > <ContentTemplate>
4
8729
by: Grant Merwitz | last post by:
Hi I am trying to implement the Microsoft Ajax.NET extensions to perform a lookup on a key press of a text box. What this will do is once a user enters a letter into the textbox, this will filter a list from a database and populate some filtered options for the user to choose in a seperate listbox. Any subsequent key presses will further...
1
982
by: mohitkatariya | last post by:
hi all I am getting problem while using fileupload control with atlas scripts. Can any one tell me how to use fileupload control with atlas. Thanks
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.