just handle the oncontextmenu event of the document object, and return false.
Example:
<script language="Javascript">
function document.oncontextmenu() {
return false;
}
</script>
hope this helps!
"Kevin Spencer" <> wrote in message news:<Ok#>...
> Hi Eliyahu,
>
> Now, THERE's an example of good design!
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> I get paid good money to
> solve puzzles for a living
>
> "Eliyahu Goldin" <> wrote in message
> news:...
> > I agree to the point that disabling browser functionality is a bad idea,
> but
> > you don't have to disable the standard menu whatsoever.
> >
> > I am using rightclick a lot for standard windows form-like popup menu
> > functionality. In a standard screen, where you have a datagrid for
> selecting
> > rows, it is quite naturally to be able to rightclick a row and choose an
> > action from the popup. You still can get the browser's standard menu when
> > you click on other areas of the window.
> >
> > Eliyahu
> >
> > "Kevin Spencer" <> wrote in message
> > news:...
> > > Chances are, you don't want to disable right-click. You only think you
> do.
> > > What do you think yuou will accomplish with this? For example, some
> newbie
> > > web developers think that they can prevent people from copying images
> with
> > > such a trick. However, this is not possible. Generally speaking, and is
> usually a kluge that substitutes
> > > for good design.
> > >
> > > --
> > > HTH,
> > > Kevin Spencer
> > > .Net Developer
> > > Microsoft MVP
> > > I get paid good money to
> > > solve puzzles for a living
> > >
> > > "Ken Yu" <> wrote in message
> > > news:OZjws6#...
> > > > Eliyahu,
> > > >
> > > > Sorry ! I want to disable "RightClick Menu" in WebForm ?
> > > >
> > > > How can do that ?
> > > >
> > > > tks a lot !
> > > > Ken
> > > >
> > > >
> > > > "Eliyahu Goldin" <>
> 级糶秎ン穝籇:uhmII2% .gbl...
> > > > > Ken,
> > > > >
> > > > > Setup your oncontextmenu event handler that will do nothing.
> > > > >
> > > > > Eliyahu
> > > > >
> > > > > "Ken Yu" <> wrote in message
> > > > > news:%2322Oyk%...
> > > > >> Hi,
> > > > >>
> > > > >> How can i disable "RightClick Menu" in Internet Explorer,
> when
> > > > >> access the frontpage ?
> > > > >>
> > > > >> tks a lot !
> > > > >> Ken
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
|