I have a form that assigns to 2 variables. Now I want to have a button that if clicked sends a different asp page the 2 variables and runs the page. I think I need the new asp page to open in its own window as I want the original form to stay open in the background and the new form generates an Excel file to download rather than opening in the browser.
Could I get an example, preferably in vbscript, of how to do this please? The only sample code I've found so far uses a hyperlink instead of a button and doesn't pass any arguements to the new page.
I have a web form with a button and a number of text fields with validators. When users on dial up connections use the form and click the button the progress bar in Internet Explorer will slowly works it way over and the page status will say done but nothing ever happens. If the user clicks the button a second time all is well. The page works fine on a high speed connection.
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response.
I tried to do this by adding a java script for the button. But, useless..
I have a website that was initially generated by a program called ASP Runner Pro. It's really nice, has my access database online (I run it on a godaddy.com server) and I love the layout. However, I really want to make it so that when I add a new DOCTOR to my database of doctors, an email is sent to the doctor telling them that they have been added to the database. I plan on editing the website files manually from Dreamweaver. I don't know how to set up my email smtp server in ASP or anything like that though. I've searched the forms desperately, but all instructions assume that I already have setup my email smtp (which will be google) in my ASP, which I don't know how to do.
When I click "save" after adding a new record (which contains, among other fields, the person's email address), I want an email to automatically be sent to that person (at the email that is in the field of that record). How can I do this?
I have a "Add more files" button on my asp page. I want to make it that when user click on the button, it will create a file field under the existing one. How can I do that.
when my asp page displayed in browser..and suppose i click on back button of browser then it should not go to back page. in this case the same page should be always display. how can we do this?
I am trying to create a bookstore WebApplication using c#. I can display the books (obtained from sql server) on a table in a WebForm. At the end of each row, I would like to add "add to cart" button. Therefore, I use
Button bt_add = new Button(); bt_add.Text = "Add to cart";
and put it in a cell which is later placed in each table row. The Buttons display fine on the WebForm. However, I don't know how to add the Button_Click function for each of the Button I created since I don't know the total number of books in advance. Can anyone help me get "add to cart" button to work?
Note: I try clicking on each Button, the WebForm page loads back to its original stage (Page_Load function) and my search result is gone.
in our asp, in order to prevent data disppearing problem in form fields,we use session variable to display the field values if a customer click "back" button on the page2.asp in the browser,(the session variables Session(aQuoteName(iPerson)&"TripCost") is set up in the page2.asp) i.e. then in the page1.asp, we use:
to display the tripcost. This works very well in the past all the time. But today, when I do the similar programming, whenever I click "back" button on page2.asp, the data on the page1.asp all disappeared and I have to click "refresh" button on page1.asp in order to display all the session variables.
What's going on, does this have to have something to do with window security patches, I didn't have anything changed in the program or IIS configuration. I also test the production version, same thing happened which it never happend before???
The page loads and allows the user to enter an MLS number. After the user enters the number and clicks on the retrieve button the page retrieves a record from the database with that key and loads the information into a series of textboxes and lists for editing.
If the user enters and invalid key and no records are retrieved a lable displays a message. After editing the user hits save and the updates are made to the database.
In reality after the user clicks retrieve and the record is loaded the buttons on the form go dead. If the user failed to retrieve a record, the lable is displayed, and the buttons still work. I have no ideas as to why this would be happening.
The problem is that my chat screen has to refresh every 10 seconds to check for any new messages in the conversation, this causes a 'click' sound. How can you refresh a page with out a 'click' sound? I currently use the meta refresh method, but there must be a different way, as other html chat clients I have seen do not make the 'click' sound and do not appear to use the meta refresh method.
so it opens up a new page i want to set properties of the page like we do for pop up window.like i want the new page to be of a specific size with no scroll bars and stuff i have the code for opening a pop up window in javascript
in my database customer name is mike o'lee, i am creating one reason forum by using asp script and call customer name from database by using link syntax. when i trying to open the reason forum it displaying the error message like page is not found.
The problem is in single quotation which is present in customer name.I now how to remove the single quotation ,but use want to see the same customer name. how i can open the page,by using same page.
I'm on a project for a government application. For a given domain object, there is a report that is pre-generated, converted to PDF, and stored in the database.
The client wants to have a list of these domain objects, each one with a print icon at the end (which is already done).
The problem is when they click on the print icon, a postback is acceptable, but basically they want to hit the database, download the PDF, stream it to the browser, and print it, all without any pop-ups.
In short, other than the blink of a page for a post-back, they want Win App functionality of clicking print, and a PDF printing without any other interaction (downloading the PDF, file-> print, etc).
Since its a PDF, I know this isn't possible with Javascript. I have no experience with ActiveX whatsoever, so I was hoping for advice on whether this was completely impossible, and the level of effort involved.
I think its impossible, but I want to at least say I've done my homework before I tell the consultant that who thinks it can be done.
I just made a simple web site using Frontpage 2003 with a simple MS Accesss database.
IF I try to open the asp page in a browser by typing http://localhost/mysite/db.asp it opens just fine
However if I try to opeb it by typing c:/mysite/db.asp I get the following error message:
The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.
I have a server with a Word document and an Access database on it. I also have an ASP page running on the server. The Word document contains a mail merge with the Access database. What I want to do is open the merged Word document from the ASP page when a button is clicked.
I have tried several things including some scripting that I found on the internet. This scripting works, however it opens the merged document on the server instead of on the user's local machine. I want the Word document to open on the local machine instead.
I have one combo box and GO button on the click of GO button page submitted and according to selection of one of the option from combo I want to redirect my page to some new asp page but at the same time in new window of browser.
I could have achieved this using window.open() of javascript but then it will serve as pop up and clients requirement is that not to show as popup window due to many users blocked popups.
Any suggestions, How can I achieve this using response.redirect or any coding which is not serve as popup window.
(incidentally, the more i look at it, the more i feel i should point out that to be totally sure your SQL statement is correct you should write it like:
INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) so that you know your info is going to the right column on the table
There's an access database on an iisserver and asp makes updates to it. The database got moved to a newer server. The users used to be able to open the database and use the asp pages at the same time. Now when the database is open the asp pages won't update.
My newly rented 2003 Standard Edition dedicated server allows me to access HTML or picture files but asks for username and password when I try and open an a asp page. I have set Authenticated User permissions to Read & Execute and Directory properties to Scripts & Executables. What have I missed?
I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.
I had successfully created a update page for a registration. But now I went into a problem.
1: In REGISTRATION page (Where they submit their data for the first time), they are able to use Drop down button to choose their answers. In my UPDATE page (Where they can edit their data), I can only create textbox for them to change their data which they originally used Drop down button.
For example: In REGISTRATION page, they can choose Yes/No from Drop Down button. In UPDATE page, they need to type in Yes/No instead from Drop Down button.
How can I create drop down button in the update page with their previous answer selected?
I am trying to put a buuton into my page which will take the user back to the previous page. The reason i am doing this is that the user may come to this page from more than one other page.
I am using this code for the button, which i have seen on many code examples, but when i click on the button, it results in an error as if the existing page is trying to load itself up again.
have also tried using the javascript: history.go(-1) code in the form declaration as the onSubmit attribute, but this just makes the same page load up again.
Is there a way to dynamically add drill down lists and input boxes to the HTML page. For example if the user clicks in a button it adds a new line contains one drilldown list + two input text boxes?