Authentication Popup When Uploading From A Web Dialog

I've created a web application that requires authentication on all pages. One of my pages is an ASP script that runs in a modal web dialog. It has a form to upload a file. To prevent a new window from being spawned I've put an IFRAME as the target of the form submission:

<form action="Image.asp" method="post" enctype="multipart/form-data"
target="Results">
...
<input type="file" size="30" name="ImageFile">
...
</form>
<iframe src="about:blank" name="Results" frameborder="0"></iframe>

When I pick up a file from My Documents I get an authentication prompt as soon as I submit the form. I don't get that authentication prompt when I run the script in a normal window (i.e. in a non dialog window). If I select a file from anywhere beyond the wwwRoot folder I don't get the authentication prompt either.

Is it normal or is it a bug in MSIE? I would have sworn IIS had nothing to do with client-side file access when uploading files!

I'm running Windows XP SP1 with IE6 SP1.

View Replies


ADVERTISEMENT

Dialog Box(ASP)

I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Scream ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info ,How do I disable any Button on the Dialog box let say the Save button

View Replies View Related

Dialog Box

I would like to use make the dialog box to pop up when user forget to fill in the text field. Is it possible to do it by using asp? or it must use other language? May I know how to do it?

View Replies View Related

Save As Dialog

is there a avaialble code in asp.net...
that have a similar function to Save as Dialog

View Replies View Related

Modal Web-dialog

I would have liked to submit a form from a modal web dialog, i.e. a window
opened using showModalDialog() in which there is a form to submit. I thought the
dialog content would be replaced with the submitted page results but I saw a new
instance of MSIE instead.
Is this behaviour normal (I mean expected)? (How) can I replace a web dialog
content with submission page (i.e. the url in the form "action" attribute)
results?

View Replies View Related

Save As Dialog Box

When users submit a Form with a SQL query, the resultset is retrieved from a MS-Access database table which is then exported to an MS-Excel worksheet. After the records get exported to MS-Excel, I want to give users the option to download the Excel file to their local machine.

In other words, when users click a download link, I want the Save As.. dialog box to pop-up so that users can save the Excel file to their local machine (note that I don't want users to view the Excel worksheet in their browser). This is how I tried it: Code:

View Replies View Related

Confirm Dialog Box

I have a webform with 3 text boxes and a submit button
Based on the first textbox data I'm filling up the remaining two. If the first box data is not found in the database I want to display a confirm dialog box. I need to know the return value from this confirm dialog as I have to clear the other fields in the form, if the user hits yes the I should retain the values in the other fields. I have tried hours on it by using hidden variables...but still couldnt get it to work.

View Replies View Related

Login Dialog

I have a web page named downloads.asp and I have a link on the page as "Click Here to login". When anyone clicks on that link I want that a classic windows login dialog opens up like the one in the link . I also have a database which is in MS-Access. How will i connect the dialog box with the access table. how can I code it, in javascript or in asp .

View Replies View Related

Saveas Dialog Box

i am writing the database data to a text file. now i want to invoke a save/saveas dialog box if the user clicks the download button. may i know how to do this in ASP.

View Replies View Related

File Download Dialog Box For Pdf

I want to get dialog box(open,save,cancel) for pdf file using asp(vbscript).
Presently when i click on pdf link on the site,the pdf document opens in
the browser.

I have used the below code(download.asp?file=filename):

<%
Response.AddHeader "content-disposition", "attachment; filename=" &
request.querystring("file")
Response.ContentType = "application/octet-stream"
%>

This file resides in the same dir of pdf documents Code:

View Replies View Related

Force Save As Dialog

Is there a way I can force a Save As dialog? I have a page with a bunch of files listed for download. Unfortunately, these files attempt to open directly in the browser. I need a way to force a Save As.

View Replies View Related

File Save As Dialog Box

i want to write an application in ASP,in this i want to generate an excel file,in which all records will save in that excel file as per i ve given the query after saving records in excel file ,immediately i should get save as dialog box so that i will save that file on my local drive.i don't want to save that file on web, whenever file gets created & records saved,it will show me save as dialog box.

View Replies View Related

Download Dialog Appears Twice

I have an ASP page to download a CSV file using the following code

Response.ContentType="text/plain
Response.AddHeader "Content-disposition", "attachment; filename=Report.csv
Response.Write strCS

When I run this, I get the download dialog displayed twice. Any ideas how to solve this.

View Replies View Related

File Download Dialog Box

I have coded a file upload process in ASP and the current way I allow files to be downloaded, which have been uploaded is by using the <a href> tag. This works but it normally opens the files for the user in a new browser window. What I would like to do is present the user with a download link which opens the Windows File Download dialog box.
I thought there might be an easy way to do this kind of like HTML provides for uploading a file… which is the input type=file (presents the user with the browse button). Is there an easy way to present the user with a Windows File Download dialog box?

View Replies View Related

Embeded ActiveX Dialog In IE

I have created one simple ActiveX control, in which i've added one dialog. Now I have just show that dialog (using domodal) at the startup of control, I mean in the InitInstance( ) function of the applicaltion.

how to show that dialog in IE. i.e. when that ActiveX control (.ocx) is called in IE using any html tag or using any scripting language, I dont want to popup that dialog instead that i want that dialog must be embedded in IE (i.e. in browser). I've created that ActiveX in vc++ 6.0. is this thing is possible ? if yes, then how ? and if not then please guide me to appropriate way.

View Replies View Related

Confirm Deletion Dialog Box

i have a recordset that displayed all the infos about a record and a delete herf or button
i want whenever i wanna delete a record a dialog box to appear with YES/NO/CANCEL button.

yes to confirm delete no to disagree and return to the previous page Cancel to cancel the action and remain in the same page !!

View Replies View Related

Progress Type Dialog...

I have a web app that converts files. The conversion can take up to 20
minutes depending on the file size and contents.

So, to help the user I want to display an animation (gif/avi/swf) while this
happens. (so that they don't assume it has stopped and go and submit the
file again!)

I have tried all sorts of options but cannot get any animation to play while
IE/NS is waiting for the asp script to process and post back.

anyone got any ideas???

View Replies View Related

Dialog For Excel File

Can somebody loan me a lobe and give me a snippet of code that will:

a) Accept a file name (.xls extension)
b) Invoke the "Save as" dialog rather than displaying the Excel file in the browser.

View Replies View Related

Program Without Opening Dialog

I am calling an exe thru' href, but when it executes, I get the message if I want to open the file(exe file). Is there any way I can suppress this from appearing and open the program?

View Replies View Related

Submit Form From Modal Dialog

I have a web page that opens a modal dialog (client side) in the
following manner

onclick="window.showModalDialog('/dialog.asp',null,'dialogHeight: 200px;
dialogWidth: 400px; dialogTop: 300px; dialogLeft: 150px; edge: Sunken;
center: Yes; help: No; resizable: No; status: No;');">

and the page loads in the modal dialog no problem.

Now, the asp page is a form that submits to itself and so the modal dialog
contains a form that submits to itself.

This is fine except that submitting the form opens a new window.

what I would like to happen is submit the form and it comes back to display
itself in the modal dialog again. if the form processing detects an error I
will leave the form displayed, if no error is detected then I will close the
window using some client side javascript.

however I am having trouble getting the modal dialog form to submit back to
itself and redisplay again within the modal dialog.

View Replies View Related

Dialog Message Displays On Server

I am rather new at Web program so I am starting off with some small stuff, but still having problems. I want to display a message box to the user when they click a button, but the message box displays on the server and not on the client. Can anyone tell me what i am doing wrong?

The command for the message box is:
MessageBox.Show("The anniversary date has been changed for all employees",
"Anniversary Date", MessageBoxButtons.OK, MessageBoxIcon.Information,
MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)

View Replies View Related

Dialog Box Too Small In Windows XP Environment

I have a problem with dialog boxes. When in Windows XP, the dialog boxes are too small, but when in other environments it is ok. What should I do to accomodate all environments?

View Replies View Related

Login Dialog When Accessing ASP Pages

Some users of my ASP app keep getting a login dialog for no apparent reason when they first use the application. They're using Internet Explorer clients and the web site's access control is set to NTLM authentication. I've set read access onthe server directory containing the ASP pages to the [Authenticated Users] group.

Is there something I'm missing or is this a known issue perhaps caused by a recent security patch?

View Replies View Related

Force A File Download Dialog Does Not Work In 5.5 Sp1

i am using the following code to force a file download dialog in asp

Response.ContentType = "application/vnd.ms-excel"
response.AddHeader "content-disposition","attachment; filename=" &" &
StrFileName

Now the it works fine in ie5.5 sp2 but no ie5.5 sp1 it prompts the
user twice the open dialog box.

i found on microsoft site that it bug in ie 5.5 sp1 and it says to
upgrade to sp2.

but my users are not willing to ugrade there ie. can you please help me out how can work this in ie5.5 sp1 or anyu other way to force a file download...

View Replies View Related

How To Create The Username/password Authorization Dialog?

Anyone knows how to create the username/password authorization dialog in ASP?

View Replies View Related

Disabling Open/save Dialog In Word

In my application I am using Word to hold data out of a MS SQL Server 2000 database. On the clients PC's I am getting a open/save pop up dialog for opening MS- Word. How can I disable this pop- up and load Word without having this dialog? The clients pc are Windows XP/SP2 machines.

View Replies View Related

Save File Dialog Window From A Web Page

What is the appropriate control or code to pop a "save as" dialog window to
allow the user of a web page to save a document after they click on a link?
All of the CommonDialog controls obviously are to be used on WinForms, so not
sure how to accomplish this from an aspx page.

View Replies View Related

Post Form Data To A Modal Dialog Window

I want to post the form data (http://server/page1.asp) to a modal dialog
window (http://server/modaldialog.asp) with a desired height 200px by width
200px.

Here's my attempts and problems:

Attempt #1) In http://server/page1.asp, it has code <form
action="http://server/modaldialog.asp" method="post" target="_blank">

In http://server/modaldialog.asp, it has code <body onBlur = "self.focus()">

It can produce modal dialog window modaldialog.asp, but I want to set the
width and height of modaldialog.asp.

Attempt #2) var sReturn = window.showModalDialog("modaldialog.asp", params,
"dialogHeight:200px; dialogWidth:200px;");

This is the effect I want. But this is not posting the form data to
modaldialog.asp. Any workarounds to my problems??

View Replies View Related

Popup Help

Most of the popup companies that pay you per hit only count it as one per ip adress.
How can i make a system that checks that it has shown the popup to a person...and then goes to the next one?

View Replies View Related

Value PopUp

Quote: Response.write "<a href=verify.asp?Address=" & Add & "&city=" & City & "&state=" & State & "&zip=" & Zip & " target=_new>VerifyAddress</a>"

If Add is "101 ABC STREET " , in popup , Add passes is only 101 and not complete one.

View Replies View Related

Popup To A New Popup

my present asp page opens a popup to display the complete data, but my requirement is to create a login to show only some data in the same popup. my choice was to redirect from the popup that shows all data to a new popup which shows some data (having the first popup not opening at all, clearly to redirect)

Any help how to redirect from popup to popup..?

View Replies View Related

Popup

how do i implement this.I have an event calendar and events are already added into the database.Let's just say that today that is an event.How do I show a popup aying "today's events blah blah blah".This should be shown whenever someone comes into my website.it somehow acts as a reminder.Any ideas?I havent start doing the codes but just wish to get an idea of what to do.

View Replies View Related

Popup

i am having problem in popups.i have an asp page from where a popup opens on clicking a link. the value of a variable is passed from the main page to the popup thru querystring. there are 3 text boxes on the popup one of which shows the value of the said variable. the user has to enter data in the remaining 2 boxes.

what i want is, if the user enters invalid data in those 2 boxes, there should be an alert. on clicking ok the user should be able to see the popup with the value of the variable from the main asp page in the 1st box and 2 textboxes with null values in which he/she has to enter the data again.at the moment what i am getting is, the popup disappears on clicking the ok of the alert.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved