This is for an Intranet application before I go any further. I have a form which requires calendar dates, cities etc. to be input. This is not a problem, but when a user clicks to input a date etc., the calendar opens in a popup window over the main window. The values are all selected from a recordset based on a SQL DB.
When a user clicks on a date (or other DB drawn value) in a popup window, how can I carry this value over to the main window and insert it in the relevant form field?
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:
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?
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)
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.
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.
I have the calendar on my sites startpage. A user can click on a link on the calendar to get a popup box displaying the course details and in the popup is a link to apply for the course.
instead of opening a new window I want the startpage to change to the application form. I have tried all the href tags; _blank, _parent, _main and they dont work.
pImg is a small version of the image in a database. I want to click it and have it popup a properly sized large image (pImg2). I thought the code above would work.
I have a form which contains drop down box with several available selections. Based on the users selection, I would like to have a popup box appear upon the form submission that gives them some additional information about their dropdown box selection. Is this possible?If so, how do I go about doing something like this?
I have a web page that's calling the server variable LOGON_USER to retrieve the userid of the person accessing it. The web has anonymous access disabled, and Integrated Windows Authentication enabled. My userid is a member of a security group that has access to the page. When I access this page on my web server, it displays my userid without popping up the NT login box. However, when I copy it to my production web server, the NT login box pops up. I am certain my userid has access to the web on the production server. In addition, if I don't enter anything on the login box and click OK, it allows me into the page, and displays my userid. So, how do I prevent the login box from popping up. If I enable Anonymous Access on the web, LOGON_USER doesn't return anything, probably because the page is being accessed with the IUSR_machinename account. My goal is to get the userid of the person accessing the page -- provided they have security access to it -- without making them login.
i have an aspx page. on that page there is a link that open a new popup page. Popup page contain some text fields. user fills that fields and press OK. By clicking OK I append the textbox values in the DataTable, which is already saved in the session My Problem is that when that popup windows closes by clicking Ok i want to show that new information in datagrid on the parent page(which opened the popup page[window.open]). i have info in the session, but problem is that when i bind datagrid by using the session Datatable on the parent page.
In my asp I need to make a popup that is like a windows password change, a space for old password, new and new again.
I don't really know how to make a popup that does anything other than display text. I would also need to know how to retrieve the data off of the popup for the actual change of the password. Code:
On one of my pages I have a link to a popup. This popup has a link. When the user clicks this link my popup closes and another Popup is displayed. In this second Popup I want to redirect the user to a different page in my application when the popup closes. Is this possible as another popup opened this second popup so I cannot use 'window.opener'.
I Am Working With A Asp Project Where Maximum Pages Have Popups.But Maximum Users Use Popup Blockers In Their Systems.Best Way To Code .Is There Any Code To Unblock Popups. Can We Disable Control Key Or Any Possible Way.
I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a description and a class_id (stored in the value attribute of each option). The user will then select a class from the drop-down list.
What I want to do is have a control in the parent browser window which can store the class_id and the description that the user has selected in the popup window.
what control I should use in the parent window and more importantly how I get the value from the popup window (this must be client side code as the user will have entered other values into the form in the parent browser window)?
I am a student working on a calendar popup, but I want to change it a little bit and don't know how. This is probably a very easy fix, but here's what I want to do. I want to have the calendar popup with an associated textbox, but i also want to display the calendar on my page with the current month and the previous month.
That way, if someone wants a month further back they can use the popup, but if they just need the current or previous month, they can just click on the calendar on the page. Can that be done?
I am facing a problem in asp pages. I am requesting some values from a page and moving to another page from the second page.
i m opening an popup window and for refreshing econd page from that Popup. i m using code.window.opener.location.href='second window name') in doing this I am losing the values of the first form. which i have to insert in the dbase in the Third page
I have a user management application for our website. In order for the users to login a pop-up box is launched via a hard anchor tag and a target="_blank". When the little popup box opens it will allow them to input a username and password. Then when they submit the form one of two things can happen, I prefer the first.
1. The popup box runs the ASP script to authenticate then upon sucessfull authentication the popup closes and the main page will do a refresh to pull the user only information.
2. The popup box submits the form back to the main page and closes and the ASP script is run from the parent browser.
I need direction on this. I don't know what its called, almost like a message box or something. First off, I have frames. Right now, the menu has a list of warehouses, and if you click on the warehouse on my site it then opens (in the 'main' part of the frame) all the hotline activity for the past 30 days. I would like it to instead of going straight to that page kind of popup a little box with an input box for someone to type in the amount of days they would like to go back, instead of the default 30. The thing is, I dont know how to code that in. It would look something like this (in my head anyway).
<%If (link)<>"" Then%> <html><head><title></title></head> <body> <form action="" name="""" method="post"> Please enter the amount of days you would like to search by. <input type="text" name=""days"> <input" type="submit" name=""submit"" value="Submit"> </form> </body> </html> <%End if%>
First I am asking if it can be done and if yes how?? Where can I read to find out how? I want a popup window to popup and ask to from date and show a list using those dates? Can it be done using asp?
I have a kinda off-the-wall question for you. I have a piece of ASP code that is designed to 1) create a sql statement and then 2) launch a javascript new window popup to run the sql.
Well, everything seems to be working fine except for when the sql statement gets called it returns an error:Microsoft OLE DB Providor for SQL Server
Line 1: Incorrect syntax near '<' /includes/confirmins.asp, line 13 Line 13 is simply the rs.open sql line.
The only issue that may exist is the fact that I'm sending the entire sql statement across in the posted data stream (ie confirmins.asp?sql=INSERT INTO Table (Col1, Col2) VALUES ('CompanyName', 'Company Code')...) I receive that posted data through a sql=request("sql"). When I display that field on my page using a response.write - it looks perfect.
Any ideas as to what might be causing this error? Oh, and yes, I have tried using the db connection on that popup page and it works fine, so I know that isn't the problem.
In an asp page I have the following scenario happening (or would like to happen)
person picks a menu item in main page which opens a popup window that allows customization of that menu item. Upon submitting that page the results go to a second page in the popup window for collection into variables.
I was hoping to just close that second page, but everything I have tried results in a message window stating the program is trying to close the page (y or n). I was hoping to get rid of this, but can't seem to no matter how hard I try.
There are many examples on here that seem rather old and may have worked with former versions of IE without problem, but none have worked how I wanted.
Does anyone have suggestions on how I could get the above...or even modify things so that maybe the original popup window can be closed...I do wonder if its the fact that a second page has been opened in the popup window.
In the popup window I have href links. The popup takes a while to load and I don’t want the users to be able to click on a link until the popup information has finished loading. Does anyone know what Visual Basic Script commands I can use to disable then enable the display in the popup window while the text and hyperlinks are loading (preferable I would still be able to see the text in the popup while its disabled.
I would like to achieve the equivalent of a client side javascript alert popup from server side code. Any suggestion how I can do this? How can I cause a beep at clientside from serverside code?