remove browser properties toolbar

L

lisak

How do you remove the forward and back button from the browser window when creating an application using Visual Studio.Net. I want each web form to have the forward and back buttons removed or disabled so that users cannot browse this way.
 
M

MikeD

When you link to the page you need to include a set of properties like this:

window.open mypage.aspx
menubar=no,location=no,menus=no,scrollbars=no,resizable=no
status=no,titlebar=no

This will need to be part of a javascript function called from the link to
the page. It's probably not truely correct but if you research window.open
on the web you'll probably find what you are looking for.

<M>ike


lisak said:
How do you remove the forward and back button from the browser window when
creating an application using Visual Studio.Net. I want each web form to
have the forward and back buttons removed or disabled so that users cannot
browse this way.
 
C

CMA

create a dummy page and from "onload()" javascript function you can call to
a new "window.open(....)" javascript. and put the original page url there.
after open the new window, you can close the previous window. so, user can
see only the page without menu bars...

hope this helps,
CMA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,093
Messages
2,570,607
Members
47,226
Latest member
uatas12

Latest Threads

Top