Opening And Closing A Window
When i select a order ,a new window opens up .I select the name from the new window .This window also has a submit button(there is a insert statement which gets activated on submit).
wht i want to do is when i hit submit ,the window should get closed and should be redirected to the previous page from where i actually got this window i.e by clicking on the order at the start. how should i attain this?
View Replies
ADVERTISEMENT
I have a question regarding opening and closing a particular section in a web page. I have done that in .net using panels, but, I dont know how to do it in ASP (using VBScripting, JavaScripting).
I have a table with long list of users and every user has some info attached under them. My table looks too long. I wanna give my users a functionality in design so that they can close and open each section. Is there a way to do it in ASP?
View Replies
View Related
In my code I am opening a new window through javascript which opens upon submitting a form. The form collects certain information from user ; and this information is used to create a file.This file is created after the page is submitted and just after the file is created I want to destroy the window and then give a link on the page to download the file.
Is there any way to do this. The problem I faced was upon submitting the page I loose the window object that is returned by window.open method.
View Replies
View Related
How can I close the window (DownloadCSV.asp) automatically when this has asp page (GenerateCSV.asp) has finished loading. The asp page, GenerateCSV.asp is called in the onLoad event when it has finished it pops up the download dialog box, when that happens I want the page that calls it to close, how do I do this??? Code:
View Replies
View Related
I have a submit button which opens a child window,and submit parent window to itself and then begins some processing on parent window. On completion there appears close button on parent page.
Can anybody suggest me how to close the child window on the click of close button on parent window and then redirect to other page?
View Replies
View Related
if i run my project IE will open and output willl be shown. my need is u can able to see three butons(minimize,maximize,close) in yhe right corner of the IE window, me need is that should not be appear so only screen will be displayed.why i need this requirement is user cannot close teh window using any method, one method is this pressing this close button, i need to block this
my second need is if try to use alt+f4 to close the window i shouldn't close for ten minutes,after ten minutes he can use alt+ f4 to close so please give me coding for this also
third way is if he tries to use windows+d or windows+m or alt+tab it should not work,i need to block this way also
View Replies
View Related
I'd like to redirect from a certain page, to an external page(an external site), with certain parameters. of that window.
There is nothing to do if using response.redirct,
but is there another option?
For example, I would like to open a new window, that will have a cerain dimensions, and that the url of that window is... In javascript it is not a problem of course. What shall I do in asp???
View Replies
View Related
I have this code
response.Redirect( "/mailer/TestPDF.asp?referenceNo='" & checkRS("RefNo") & "'" )
but i want to open it in new window..how can I do it?
View Replies
View Related
How exactly do you get a window to open withing the current browser (ie) without it going to the taskbar as a new window. example password hint .
View Replies
View Related
In the following snippet of code, I can not get my openBrWindow command to work. Does anyone see anything that jumps out at them that is obviously wrong? Code:
View Replies
View Related
I want to open a new window from ASP page, which may not inherit sessions values from its parent.
I'm opening a new window (JS:window.open) from an ASP page, the child window inherits all the session variables from parent (thats what i dont want). and if I write session.abandon in the child ASP file, it also destroys the parent 's session values.
how I can open an ASP page in new window which doesn't inherit sessions from parent.
View Replies
View Related
We have several apps that a user logs in at on the same page. The app
is determined by a drop down. User credentials are checked,
response.redirect to the application. The user ID is stored in a
session variable which determines if the user is logged in. When the
session var goes blank, the user is redirected to the login page. A
header on each page checks this.
Now, some parts of the app send an email out to a specific row. User
clicks on link in the email, a new browser is opened, user logs in, and
is forwarded to the app, AND the specific record that was in the URL.
What I would like is when the user clicks on the link in the e-mail,
the existing browser window is used. I know this can be done because a
colleagues Stock Trading program works in a similar way. He gets 3
emails. If he clicks on the first one, it take him to a login, and
then is forwarded to the details of his stock trade.
If he leaves that window open, and clicks on the next link, the details
of the stock trade are brought up in the existing window without him
logging in. I looked at HTML to see if they're doing any tricks in the
HREF, but it's just a link to a an HTML file.
View Replies
View Related
I am creating a redirect on our web site, and am wondering how to open a new window when the person is redirected.For example, the redirect below works correctly:
<%@ Language=VBScript %>
<%Response.Redirect "http://www.boston.com"%>
But what code would I add to make this open a new window. I am kind of self-taught and obviously not that knowledgable in this area. When I experimented and tried to plug in target="new" in a few places, it did not work.
View Replies
View Related
How can I change the following client side javascript to open the referenced asp page in a new window:
Response.Write "
<td align=""left"" nowrap
onClick=""javascript:document.location=my.asp?ID1=" & ID1& "&ID2=" & ID2&"';"">"
For now it work perfectly excect that it opens in the paren window.
View Replies
View Related
I have a page where the ASP script create a table of links:
i.e.
1 = NextPage.asp?Item=1
2 = NextPage.asp?Item=2
etc
What I would like to do is open an new window with this link without any
toolbars, addressbars, scrollbars and tabs. I would be happy even if the
control to limit the appearance of the new window was in the new asp page.
View Replies
View Related
Is there a way to tell if a user (IE6) is opening a new window to the same session. ie. both (or more) windows are looking at the same info.
Just a clue as to how to determine this would be helpful. Server is running .asp and the client is always IE6. asp, vbscript, jscript or dhtml clue would be great.
View Replies
View Related
I have the following ASP code which displays a confirmation message when a particular form is successfully submitted. What i need to do is open the message in a blank (_self) browser window. Can this be done using ASP or would it have to be done using Javascript?
Code:
View Replies
View Related
1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.
I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:
View Replies
View Related
I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??
View Replies
View Related
I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.
The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.
Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:
View Replies
View Related
today i got an error from my site
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
it got error when i tried to update.then i checked all my files which has database stuff.i did not see any close statement for recordset & connection.we used DSN for connection.this site was build my someother firm.when i asked to my boss he told me they kept connection open purposely becoz they had uesd connection pooling.they said using connection pooling can utilize less memory resource.should i close each & every open recordset & connection
View Replies
View Related
I realize that sometimes you can use recordsets that were never opened (like when you're adding a record to a db) and I realize that you cannot close a recordset such as this.
But for the ones that ARE open, should they be closed first and then set to nothing?
Also,I'm trying to create code that checks if a recordset is open. If so, I wnat to close it. How would I do that?
View Replies
View Related
for readability purposes,I plan to standardize all my asp pages to always open connection at the beginning of the page and close the connection at the end of the page
If in the middle of the page I issued redirection,does this mean the connection will not be closed?
View Replies
View Related
I have a page on a server (not under my control) that can't have scheduled tasks running on it and I need to hit the page once a day. I am currently doing this through a .bat file on our server which runs iexplore.exe and hits the page. Is there anyway I can get this window to close? either though the .asp page or in the .bat file.
This is becoming more of a problem as there is the likelyhood that within a month or so, I may have more pages requiring this same operation and it isn't very good to have to log on to the server each morning just to close these windows.
View Replies
View Related
I have in the back of my mind and knowing the importance of using close(rsname) to close a recordset once it has been finished with, is whether any recordsets have been left open accidentally.
Is there, therefore, a way of listing all open recordsets, without specifiying the name of the recordset? ie. "For each key in recordset". Do recordsets get closed after a period of non-use?
View Replies
View Related
I just want to close my dsn connection. I cannot seem to find it. is it Set conn = Nothing?
View Replies
View Related
Is there anyway to close a browser without getting the "Do you want to close this window" pop up? I intend to launch a browser using the windows scheduler. And auto close it itself. I tried using self.close() ...but got that pop up confirmation. Anyway?
View Replies
View Related
What's the proper syntax for determining if a connection is open before closing it?
View Replies
View Related
I have a button that goes to a new page - if a person clicks on the X in the right hand corner - I want it to go back to the previous page. How do I set this - I can't set the target to blank.
View Replies
View Related
My website has been targetted by a web scam. They have sent out an email, which looks as if it's come from me (the email tells them that they must update their information). There is a link in the email which, when clicked, opens up 2 windows: my site in the background and a small window on top with form. This forms asks the customer to submit sensitive information. Is there any script I can use to close down other windows when my site is opened? I can't think of any other quick solution at the moment.
View Replies
View Related
how to close an asp application. What is the ASP code i should use to close the browser Is it something like "window.close".
View Replies
View Related
Is it sufficient to Set a Connection or Recordset to Nothing, or ought they
specifically be closed first?
E.g.
Set rs = oConn.Execute(sSQL)
'Do stuff
Set rs = Nothing
Set oConn = Nothing
View Replies
View Related
I am trying to close a command object after executing a command text and getting an error message as:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'close' /data_usage_guide/workplansystem/ProjDataLoad.asp, line 67
The reason I want to close the object is to use it again for executing another commnad text as shown in the code below. Could any oen help why I am getting this error message and/or is there a better way to do this , i.e. posting data to several diferent tables one after the other. Code:
View Replies
View Related