|
Hi
I am cant find a suitable replacement method of finding the value of document.body.scrollWidth within Netscape 6. document.body.scrollWidth is IE only it seems but is there any way for determining this value within Netscape6 ?
Cheers
John Cogan
|
|
|
|
|
Can any one till me how to inforce the page NOT to be loaded from the cach?
Mohammed Derbashi
|
|
|
|
|
you could use the following page directive:
<%@ OutputCache Duration="0" VaryByParam="None" %>
|
|
|
|
|
Mohammed Derbashi wrote:
Can any one till me how to inforce the page NOT to be loaded from the cach?
There is no guaranteed way.
There are things you can do to help though
Response.Expires = -1444 in your ASP code
and
<meta http-equiv="expires" content="-1" /> in your HTML HEAD section
However these will not get around a badly set up cache, proxy or firewall. Like with everything else in web development nothing is guaranteed, just have to make do with what you can. If your clients cannot accept that fact then they should swap to a Windows app environment.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
Hi..
I use vs.net editor to create web pages and use asp , VBScript..
A problem that will drive me mad is that i can't debug neither ASP nor Client side script..(I can't make break points , step through code etc..)
How can i make it in vs.net or any other way ?
I prefere vs.net to Interdev because of its ease of use and autocomplete and intellisense in for html tags..
|
|
|
|
|
Your web folder should have Front Page extensions installed, there you can enable/disable debugging (which is disabled by default AFAIK)
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Can I programatically control the browser's navigation buttons in my code? For instance, the user can navigate to several diferrent pages in my web application, but whenever he hits the "Back" button in IE, it always brings him back to the main page.
The reason I want to do this is the following. Lets say that the user clicks on a link to go to a form from my main page. He fills out the form and clicks "Submit". My code then clears the textboxs. Now when the user clicks "Back" on the browser, the textboxes become refilled with stuff that he just typed in. I dont not want this. I want him to be taken straight back to the main page when he clicks "Back" in IE.
So is there a way to control the browser's navigational buttons in my C# code? (or in javascript)?
|
|
|
|
|
Can I programatically control the browser's navigation buttons in my code? For instance, the user can navigate to several diferrent pages in my web application, but whenever he hits the "Back" button in IE, it always brings him back to the main page.
The reason I want to do this is the following. Lets say that the user clicks on a link to go to a form from my main page. He fills out the form and clicks "Submit". My code then clears the textboxs. Now when the user clicks "Back" on the browser, the textboxes become refilled with stuff that he just typed in. I dont not want this. I want him to be taken straight back to the main page when he clicks "Back" in IE.
So is there a way to control the browser's navigational buttons in my C# code? (or in javascript)?
|
|
|
|
|
I think there is a meta attribute that will cause your page to expire so when users click back they get nothing but an error indicating the page is no longer available!!!
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
good
hi
|
|
|
|
|
Can somebody go about showing me how to make a nice simple asp.net app that can just take an email address from a text box then record it to a simple .txt file, after clicking on the submit button??? I'm not that far into asp.net yet, and I can't seem to find any articles on the net on doing this...
Can somebody write on out for me? (im sure it couldn't be that long...)
Does anybody know of a website that show how???
/\ |_ E X E GG
|
|
|
|
|
1. Make sure ASP.NET user has write permissions for the file or directory.
2. Use the .NET File class to write data to file.
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
Number 1 is all taken care of and everything but.... number 2 is the problem... I was hoping somebody was bored and would just do it for me....
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
I was hoping somebody was bored and would just do it for me....
Eish, you will have to pay me then
File.CreateText Method [C#]
public static StreamWriter CreateText(
string path
);
Then just write to the StreamWriter, if you wanna append, use: File.AppendText().
Come on, stop being so lazy, it's friday, not weekend yet
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
How about we BARTER! you give me the full code in the form of a all the files and the .sln and a nice .zip folder in return for my services as a graphics artist.
I also kinda know some C.....
make your choice.
/\ |_ E X E GG
|
|
|
|
|
I'm working on a file management application that has several *.aspx pages. On the main page, it shows a list of files and folders. When the user clicks on "remove file" button, a new form (removefile.aspx) loads up and has a button to remove the selected file(s). This action physically deletes the file(s) from the server. There's also a "done" button on that page that reloads the main page and refreshes the files/folders list.
However, if the user does not use the "done" button to go back, but uses the broswer's "back" button, the main page loads but the files/folders list is not refreshed.
How can I make it refresh?
One more problem is that I often get this message when using the "back" and "forward" buttons on the broswer:
"The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button. "
Lastly, when I click on "refresh" button of the browser, it says "page cannot be refreshed without resending the info. Click retry to send thei info again."
How do I prevent all these problems?
|
|
|
|
|
Hi everybody!
I'm new in VJ++ ! and i have a problem.
when i press the design button then a messagebox pops up:
"java.lang.IllegalAccessError: com/ms/wfc/util/Debug$Switch"
What's wrong?
|
|
|
|
|
I am looking for help with a function either VBScript or JavaScript for a document tracking system.
I have a data entry form where I browse for a file to fill in a field in a DB Table, all I need is the path to the file or a UNC link to the file. I have found lots of snippets but they all lead to the file being imbeded in the table.
Any Suggestions?
Thanks always! DEWright
|
|
|
|
|
<form onSubmit="this.form.path.value=this.form.stub.value">
<input type="hidden" name="path">
<input type="file" name="stub">
<input type="submit">
</form> Make sure you leave the form's enctype set to its default value: "application/x-www-form-urlencoded". This way, the file will not be uploaded to the server when the form submits.
Once received by the server you'll have a variable, named path , that will contain the filepath.
Jeremy Falcon
Imputek
|
|
|
|
|
Does anyone know of a free Windows GUI-based application that can open and read raw web log files and provide reports on unique visitors, hit counts, etc.? It needs to support the basic log formats (IIS optional).
Those willing to trade liberty for security deserve neither - Benjamin Franklin
|
|
|
|
|
Although not a UI based app, Webalizer is extremely good. There is a windows port for it. Might be useful...
http://www.mrunix.net/webalizer/[^]
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
Do you have MS Access? Using IIS?
try out Active Log Analyzer... search it in google or something dude...
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
Do you have MS Access? Using IIS?
try out Active Log Analyzer... search it in google or something dude...
Why are you replying to me?..... You should help the other oke
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
The florescent glow of the CRT does weird things to you, after a long hard day of C# ASP.NET ghetto steez...
/\ |_ E X E GG
|
|
|
|
|
...and since I have your attention, go answer my question at the top of this fourm....
/\ |_ E X E GG
|
|
|
|