i make a data display page, its showing all records, now i want user just press print button, and that print all data on screen, secondly user input 2 dats From ..... To......, so data in between that day will print,
Is it possible to have a form's SUBMIT button perform two different functions? For instance, to prevent a user from having to perform an extra step, I would like the SUBMIT button to both submit information to the database as well as print the form. Can this be done?
I can build a nice looking website in HTML, but I have to admit that I don't know a ton of other code beyond that (i.e. ASP, Javascript, PHP, etc. - although thanks to Sitepoint I have incorporated a tell-a-friend and contact form using ASP)
My client currently subscribes to a service for selling his photographs where he uploads his images to a "sales site" that establishes a gallery for him where his clients can select and purchase images online. He would like to incorporate the "branding" from his site (header, background, footer, etc.) around the pages for his image sales site. My first thought was to use frames and to direct the main frame to the sales site pages, however the "padlock" icon in IE that indicates security to users when purchasing disappears because it's just a page within the frameset and he feels that his clients won't be comfortable purchasing from his sales site if they can ensure their online purchase is secure (apparently that padlock icon eliminates a lot of stress for his shoppers).
I then considered using CSS to try to accomplish the same result, but have come to find that IE doesn't support the function of CSS that would allow me to "call" information from a different URL. Code:
I need to write an ASP app to upload files to a separate, non IIS, server. All users will have read-only access except a service account. I need my ASP app to emulate this service account in order to allow the uploads to be written the the directory.
I can run these commands successfully from the command-prompt on the server but from an ASP page, I get nothing not even an error. The Text output for NET PRINT is a blank text file.
I feel something is different on the permissions side because this code/approach use to work fine.
In my ASP application, I have a chart that will popup in a new window. From the opener window, I want to add a button that will capture the chart to the clipboard and be able to paste it to other application. I just want the client area and don't want to include menu bar, address bar and so forth.
I want to take the HTML source of a page and validate it and do certain things with it (all for good reasons!) much like W3C validators and such like do. Trouble is: * screen scrapes normally require 3rd pary component, and my host will not allow this * my host does not support .net (which can do screen scrapes without a component) My host does have cgi/perl support, so I was thinking I could: * do a screen scrape using a simple perl script (suggestions please!) * somehow get that to be submitted to an ASP page as form data After that I can hack about with it as I see fit using the ASP.
I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this
I need to write an application (VB script/ASP) that programmatically operates a web site. In other words I would like to create my own interface and use data from existing web sites. For example, the application will have "to","from", "departaure" and "return" date fields that will be filled out by an end user. The application then searches expedia.com, grabs results, and displays it on my own screeen. Then a user selects flights and the application routes the request back to expedia to book flights. The confirmation number generated by expedia is displayed on my screen, etc.,
This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?
My site seems to preload everything prior to displaying itself. I get a white screen for a couple of seconds and then, bam!, its all loaded and displayed.The same happens when the user navigates around the site. In between each page there is a white screen and a delay.is there anything I can do to minimise this white screen delay?
what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.
There is a problem which confused me for a long time. I have a web application built by ASP running on IIS, and most time it's OK.
occasionally when IE send request to IIS and then receive HTML from server it will stop with no reason. IE shows a white-screen and then I check the HTML source and find that only partially received. After I press F5 everything is OK again...
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.
I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?
I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:
Do you know any techniques how to display full screen images without using popup window?
I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.
I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.
How do I capture the screen resolution in this setup ?
I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?
I was wondering if there is any possible way to do this:
I would like some application on my server go out to a certain page at specific time intervals and scrape some data from it.
I imagine it would work similar to grabbing an updated RSS feed...except without the RSS. I would then like the scraped data to be stored in a database, or a text file, or an html page so the data can be pulled into another page.
I have 10 athletes i will be testing and displaying their information
so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:
Ive been looking for ways on how to do this for a long time. But ive never found a way to do it without a component! So i made a combo of asp and javascript to do it, heres how you do it: Code:
I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...
I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get reloaded each time. Is this really possible?
Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...
My coding experience comes from mostly application development instead of web coding. In the application world, if the user receives a system error, a new form would display the error, with any helpful information for the user and the application administer. This way there is a systematic way to handle errors. In the web world, how is this done?
For example, if I have a form where the user is entering data to be inserted into a DB. Is this the correct flow of pages?
-On submit of Entry form, an ASP page is called to insert the data -If insert successful, take the user to the next logical page -If insert not successful, display an error.htm page.
Basically, the entry page does not have the insert SQL and if there is an error in the insert (not because of missing fields because those are handled with JavaScript before submit), the error is displayed on a completely different page. Is this correct flow?
Our application launches a webbrowser window with a command to (more than one) asp's on the host. The window is reused for subsequent commands. Unfortunately, the old window is usually underneath some other window and unaccessable from the application.
Is there (preferably) a browser-independant method to command the window to front from the asp?
I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?
Using JavaScript, I'm able to get the user's screen dimensions with screen.availWidth and screen.availHeight. But if I want to store this info in the database using ASP code, how do I go about doing it?