hi Nirmal,
Why is this code not working for u..!!!
<script language="javascript">
function fnKey(){
//alert("You pressed.." + event.keyCode);
if (event.keyCode == 113) {
window.open("www.google.com<http://www.google.com>");
}
}
</script>
If u want to execute this function anywhere in ur form..
1. use <body onkeyup="fnKey();"> ....
of if u want to execute this function in any of the control (eg. a text box)
use..
TextBox1.Attributes.add("onkeyUp", "fnKey()");
in the code behind file (eg. in Page_Load event)
ok....
Bye,
Praveen P.
On 10/5/05, Nirmal Abraham <[EMAIL PROTECTED]> wrote:
>
>
> Help me sir,
> If I press F2 in my keyboard . I want to Open the Popup in
> asp.net<http://asp.net/>.
>
>
>
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> 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/