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

Home Posts Topics Members FAQ

HtmlInputFile control is not responsive!!

In my aspx page, I use HtmlInputFile to ask user to
select a file. When I select the file and hit submit
button, 60% of the time I get "The page cannot be
displayed". A postback event didn't happen at all.
After lots of testing I find out it's the problem with
HtmlInputFile html control. If I select a file and wait a
while before I hit submit button, I am fine. BUT if I
click to fast, I will get an error page.

Did anybody have this problem? How can I fix it?

Frank
Nov 18 '05 #1
0 864

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

Similar topics

2
4862
by: Mark | last post by:
Hi All, I am trying to set the value of HtmlInputFile control programatically but I am getting the error that the value is not settable. The documentation shows that the value property is both read and write. Any help will be much appreciated. Thanks in advance.
5
2899
by: shimonsim | last post by:
Hi, I need to upload pictures from client machine and I am using HtmlInputFile control I set validator to make sure that file has correct expention but if one of the files has incorrect extention all information in other controls gets lost. I can't find the way to save pathes and then assign them to control - the Value property is read only . Besides this I need to create conformation page before subtission of the files. On the...
7
1694
by: Al Smith | last post by:
Newbee to aspx needs direction. We are using an <INPUT type="file" tag to upload a file. We also have a text field for the user to enter a description for the file which the user must enter. Server side validation was being done for the description field having length and if not an appropriate message was written back to the client. However, in the process, the filename the user enters is not persisted between server calls...
5
3103
by: Grant Harmeyer | last post by:
I have an application that uses FreeTextBox 2.0 (http://www.freetextbox.com). FreeTextBox is a rich text editor that behaves similarly to MS Word. The FreeTextBox control has a button to insert images (just as you would with MS Word) and it works beautifully. The problem is that when you include an image with the rich text editor, the image path is the local path on the client. I have written a method that examines the text for <img> tags,...
2
1149
by: Jeti [work] | last post by:
I have a HTMLInputFile control placed onto the page, and everything works fine, except persisting its state... When user clicks "submit", I check some things on the server, and open the same page, filled the way user filled it... But I cant set HTMLInputFile control with the same data... Example: user clicks "browse", and sets some local file for an upload. Then clicks "submit". The page reopenes, but the HTMLInputFile control is empty,...
2
1226
by: Nayak | last post by:
On my web page, I want to let the user be able to browse for a file and select it. For this i have used HTMLInputFile Control. But here I want to restrict the type of the files the user can select. The user should be presented the File open dialog box to pick his file. How to do that ???? Further more I don't want the Text "Browse..." on the Button instead I want "...". How to do that ?????
4
5430
by: Corey Erkes | last post by:
I am using ASP.Net with C# as the code behind and am trying to upload multiple files with the HTMLInputFile Control. I am able to browse, select a file, and finally upload, but only one file at a time. Is there a way to select multiple files to upload at one time using this control, or possibly another control?? Any ideas on this would be greatly appreciated!! Thank a lot! Corey
7
1756
by: Buddy Ackerman | last post by:
I created this class Public Class HTMLFileInput : Inherits System.Web.UI.HtmlControls.HtmlInputFile Public Property Data As String Get Return ViewState("HTMLFileInput.Data") End Get Set (ByVal Value As String)
1
1864
by: Asela Gunawardena | last post by:
On my Web Servers, I don't want to allow visitors to upload executables. There are many types of files that i want to ignore (for instance: exe,dll, bat, cmd .etc). I have an ASPX page with an HTMLInputFile control which uploads the files. Is it possible to set a filter when the user clicks the Browse button so that the file selection dialog only displays valid formats specified. thankx in advance Asela Gunawardena.
1
1383
by: =?Utf-8?B?U3Jpbmk=?= | last post by:
Hi, Any one can help me out in this regard? The problem is: After selecting the file using HtmlInputFile Control(Browse option), how to set selected value(File path) between different postbacks? Because as we know we can't set the value properity as it is get properity. So if any hack is there please let me know. -- Thanks Srini.
0
8316
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8737
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8509
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2735
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
2
1967
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.