Click here to Skip to main content
15,913,722 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralOpen Mulltiple Windows Pin
Devkranth Kishore Vanja20-Mar-08 1:03
Devkranth Kishore Vanja20-Mar-08 1:03 
GeneralRe: Open Mulltiple Windows Pin
Vasudevan Deepak Kumar20-Mar-08 21:42
Vasudevan Deepak Kumar20-Mar-08 21:42 
GeneralRe: Open Mulltiple Windows Pin
ashish bhakhar21-Mar-08 0:38
ashish bhakhar21-Mar-08 0:38 
GeneralPlease Help me. How to Validate 12 hour time format using ajax Pin
saravanan12july20-Mar-08 0:30
saravanan12july20-Mar-08 0:30 
QuestionFinding the KEYPRESS in ASP.NET with C# Pin
John Sundar20-Mar-08 0:20
John Sundar20-Mar-08 0:20 
GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
eyeseetee20-Mar-08 0:37
eyeseetee20-Mar-08 0:37 
QuestionRe: Finding the KEYPRESS in ASP.NET with C# Pin
John Sundar20-Mar-08 0:55
John Sundar20-Mar-08 0:55 
GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
Declan Bright20-Mar-08 1:53
Declan Bright20-Mar-08 1:53 
Hi John

Here is an example:
Add this script to the head of your page:
<script type="text/javascript">		
    function setCmdKey(event) {
       if (event.keyCode == 27)
	   document.getElementById('mydiv').style.visibility = 'hidden';
    }
</script>
and add this as a body:
<body onkeydown="setCmdKey(event);" >
	<div id="mydiv" style="padding:50px;background-color:#f00;">Make me disappear</div>
</body>

27 is the keycode for the escape key

Declan Bright
www.declanbright.com

GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
John Sundar20-Mar-08 19:30
John Sundar20-Mar-08 19:30 
GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
John Sundar23-Mar-08 19:45
John Sundar23-Mar-08 19:45 
GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
Declan Bright24-Mar-08 22:36
Declan Bright24-Mar-08 22:36 
GeneralRe: Finding the KEYPRESS in ASP.NET with C# Pin
John Sundar31-Mar-08 19:14
John Sundar31-Mar-08 19:14 
Generalif i click the button I want to validate time should not be greater than 12:59 using c# in asp.net Pin
saravanan12july19-Mar-08 23:59
saravanan12july19-Mar-08 23:59 
GeneralRe: if i click the button I want to validate time should not be greater than 12:59 using c# in asp.net Pin
eyeseetee20-Mar-08 0:05
eyeseetee20-Mar-08 0:05 
GeneralRe: if i click the button I want to validate time should not be greater than 12:59 using c# in asp.net Pin
Colin Angus Mackay20-Mar-08 0:06
Colin Angus Mackay20-Mar-08 0:06 
GeneralRe: if i click the button I want to validate time should not be greater than 12:59 using c# in asp.net Pin
Christian Graus20-Mar-08 19:35
protectorChristian Graus20-Mar-08 19:35 
QuestionHow to Connect Data base in asp.net ? Pin
Francis Arul Raj19-Mar-08 23:32
Francis Arul Raj19-Mar-08 23:32 
AnswerRe: How to Connect Data base in asp.net ? Pin
Krirk19-Mar-08 23:39
Krirk19-Mar-08 23:39 
AnswerRe: How to Connect Data base in asp.net ? Pin
Vasudevan Deepak Kumar20-Mar-08 6:06
Vasudevan Deepak Kumar20-Mar-08 6:06 
GeneralImpersonation query Pin
v1i9n6o7d19-Mar-08 23:32
v1i9n6o7d19-Mar-08 23:32 
GeneralRe: Impersonation query Pin
Paddy Boyd20-Mar-08 1:55
Paddy Boyd20-Mar-08 1:55 
QuestionHow to Customize pages as per user's requirement Pin
me.makwana0719-Mar-08 22:01
me.makwana0719-Mar-08 22:01 
GeneralRe: How to Customize pages as per user's requirement Pin
Christian Graus19-Mar-08 23:20
protectorChristian Graus19-Mar-08 23:20 
GeneralRe: How to Customize pages as per user's requirement Pin
me.makwana0720-Mar-08 3:21
me.makwana0720-Mar-08 3:21 
GeneralRe: How to Customize pages as per user's requirement Pin
v1i9n6o7d19-Mar-08 23:34
v1i9n6o7d19-Mar-08 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.