<p>I have a requirement to produce a Web User Control (in C#) which will exhibit different behaviour when clicked depending on whether the shift (or control) key is pressed at the time. The control itself will contain an ImageButton and/or Hyperlink.</p>

<p>Is this possible?</p>

<p>Basically, if the logged in user is an Admin then I need to allow them access to update the associated URL. I don't want to have a separate page for this admin as it will cause confusion.</p>

<p>Thanks in advance</p>

How about
here
?
To implement the
Ctrl
/
Alt
/
Shift
detection, you can use the properties
```
event.ctrlKey
```
,
```
event.altKey
```
,
```
event.shiftKey
```
and the deprecated Navigator-specific property
```
event.modifiers
```
.