You can disable (Not grey out, but programmatically hobble) the back and
forward buttons using client-side javascript. Google it and there's
loads of information :-

http://www.google.com/search?q=disable+back+and+forward+buttons+with+jav
ascript&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozil
la:en-US:official

Probably better to design your web application so that you don't need to
implement such a bodge though.

Dan

-----Original Message-----
From: Niels Bieze [mailto:[EMAIL PROTECTED] 
Sent: 05 November 2004 11:15
To: [EMAIL PROTECTED]
Subject: RE: [ASP] Printing In IE


I dont think you can set the landscape, but you sure as hell cant
disable
bakc and forward, you can however set a session so your code isn't
executed
twice:
Something like

If session("Beenhereb4") = "" then
'do your stuff
session("Beenhereb4") = "yes"
Else
'do nothing or some other stuff
End if


-----Oorspronkelijk bericht-----
Van: Yunyun Sutisna [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 5 november 2004 10:21
Aan: [EMAIL PROTECTED]
Onderwerp: [ASP] Printing In IE



Dear Gurus

I've already build the form to print the invoice but, the orientation is
a
landscape.
How to set the orientation of printing in IE programmatically with ASP?

And how to disable BACK and FORWARD button with ASP ?

Thank in Advance
Sutisna


[Non-text portions of this message have been removed]







---------------------------------------------------------------------

 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 






---------------------------------------------------------------------

 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to