|
by: skyetech |
last post by:
We're creating a file sharing area in our intranet. When a user clicks
on a link they can save the file to their computer. When the file is
done downloading and the 'File Download' dialog closes I want to update
the database to flag that file as checked out. Because we don't want
anyone else to download it until the file has been re-uploaded.
Does anyone know how I can know when the dialog closes? It would also
be good to know if the...
|
by: ntm |
last post by:
I am using the following ASPC.VB code to download a text file:
Response.Clear()
Response.ContentType = "ignore/this" ' arbitrary
Response.AddHeader("Content-Disposition",
"attachment;filename=file.txt")
Response.WriteFile(tempFileName)
Response.Flush()
Response.End()
|
by: theyas |
last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE
I've asked about this before and didn't get a satisfactory answer (check your browser) so now that I've had the time to set up a reasonable little test that I can post somewhere, I'll try again.
The app I've written has three ASPX pages. One is a combined page which writes a little text...
|
by: Roy |
last post by:
Hi,
I have a problem that I have been working with for a while.
I need to be able from server side (asp.net) to detect that the file i'm
streaming down to the client is saved completely/succsessfully on the
client's computer before updating some metadata on the server (file
downloaded date for instance)
However,
All examples i have tried, and all examples I have found that other people
says works - doesn't work for me :-(
|
by: Patrick |
last post by:
Following on from the excellent example at
http://www.c-sharpcorner.com/Code/2003/Sept/ExportASPNetDataGridToExcel.asp
on how to save a data-grid to excel file, how can I extend the example such
that when the user click on the button a popup appear in IE to say "Do you
want to save or open file?"
|
|
by: standish22 |
last post by:
I want to open a word document stored in my database.
What I do is save the document locally, and then open a new winform
that has the WebBrowser Control on it and navigate to that new file.
This allows the user to manipulate the file and save it. When they
close the WebBrowser, if the contents has changed I save it back to the
db, and delete the local file.
My problem is the "File Download" window that comes up. If the user
|
by: Mahesha |
last post by:
Hi All,
I need to know how do we implement a file download feature
in ASP.NET. As we see in the MSDN sites (say when we try to download the .NET
famework) , refer this URL
http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en
On click of a download button we get a pop up window which will ask the user
to either run or save the file . How is this implemented?
|
by: Justin |
last post by:
Hi,
i created a button for my user to download their datas (.csv).
everything goes well but after u save/download the file. the website
seems to stop working.
i got two frames, the left frame is a list of menus for the users such
as add records, view records, logout etc. the right(main) frame are the
contents of what the had selected. For example: the users can click on
the "View Records" function on the left, then the main frame will...
|
by: tshad |
last post by:
I have a function that downloads a file to the users computer and it works
fine.
The problem is that I then want the program to rename the file (file.move)
to the same name plus todays date.
The problem is that when you run the program it gets to the:
Response.AddHeader("Content-Disposition", "attachment; filename=" +
file.Name)
|
by: sz20067 |
last post by:
Hi i want to develop a web page that contains unicode for non-english language. Now the problem is that either i use .eot or pfr for fonts ... im still facing problems in this scenario , so i want to give user an option to download the .ttf file.. but this has to be a simple OK-Cancel dialog box.. i dont want to give user the option to save files in Fonts folder instead i want to save the file in that folder as soon as client press OK.. im not...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
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,...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
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...
|
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...
|
|
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
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|