Click here to Skip to main content
15,903,012 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhat is the difference between Managed and Unmanaged Code in .NET? Pin
sandhya1417-Jan-10 19:45
sandhya1417-Jan-10 19:45 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
Abbas_here17-Jan-10 20:27
Abbas_here17-Jan-10 20:27 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
rahul.net1117-Jan-10 20:28
rahul.net1117-Jan-10 20:28 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
Brij17-Jan-10 22:14
mentorBrij17-Jan-10 22:14 
Questiondeny tag of web.config not working on production server Pin
THE SK17-Jan-10 18:16
THE SK17-Jan-10 18:16 
Questionhandle backspace key Pin
hi_everybody17-Jan-10 1:19
hi_everybody17-Jan-10 1:19 
AnswerRe: handle backspace key Pin
Brij17-Jan-10 1:56
mentorBrij17-Jan-10 1:56 
GeneralRe: handle backspace key Pin
Prosanta Kundu online17-Jan-10 17:08
Prosanta Kundu online17-Jan-10 17:08 
I think Brij is right. But a little changes are required in this code. Otherwise it will alert when user hits backspace key in a textbox. So here is the answer below

In JS code
---------------------
function checkBackSpace(event)
{
      event = event || window.event;
      var target = event.target || event.srcElement;

      if(event.keyCode==8 && (!(target.type =="text" || target.type =="textarea"))
      {
            alert('You pressed BackSpace');
            return false;
      }
      return true;
}

and put it on body tag as
-------------------------------
<body   onkeydown="return checkBackSpace(event);>

Cheers
Prosanta
GeneralRe: handle backspace key Pin
Brij17-Jan-10 22:08
mentorBrij17-Jan-10 22:08 
GeneralRe: handle backspace key Pin
hi_everybody17-Jan-10 22:19
hi_everybody17-Jan-10 22:19 
GeneralRe: handle backspace key Pin
hi_everybody19-Jan-10 1:02
hi_everybody19-Jan-10 1:02 
GeneralRe: handle backspace key Pin
Prosanta Kundu online20-Jan-10 16:53
Prosanta Kundu online20-Jan-10 16:53 
QuestionStill having problems with ASP.NET [modified] [Solved] Pin
theOzLizard16-Jan-10 13:57
theOzLizard16-Jan-10 13:57 
AnswerRe: Still having problems with ASP.NET [modified] [Solved] Pin
theOzLizard17-Jan-10 11:48
theOzLizard17-Jan-10 11:48 
QuestionCan I embed an ActiveX control in a ASP.NET MVC View? Pin
Nirav Doshi16-Jan-10 6:33
Nirav Doshi16-Jan-10 6:33 
AnswerRe: Can I embed an ActiveX control in a ASP.NET MVC View? Pin
April Fans18-Jan-10 15:02
April Fans18-Jan-10 15:02 
Questionmulti user issue Pin
aamirzada15-Jan-10 19:21
aamirzada15-Jan-10 19:21 
AnswerRe: multi user issue Pin
Brij15-Jan-10 21:14
mentorBrij15-Jan-10 21:14 
GeneralRe: multi user issue Pin
aamirzada27-Jan-10 21:20
aamirzada27-Jan-10 21:20 
QuestionSession usage Pin
Mycroft Holmes15-Jan-10 11:27
professionalMycroft Holmes15-Jan-10 11:27 
AnswerRe: Session usage Pin
Ennis Ray Lynch, Jr.15-Jan-10 11:59
Ennis Ray Lynch, Jr.15-Jan-10 11:59 
AnswerRe: Session usage Pin
N a v a n e e t h15-Jan-10 18:00
N a v a n e e t h15-Jan-10 18:00 
GeneralRe: Session usage Pin
Mycroft Holmes15-Jan-10 21:26
professionalMycroft Holmes15-Jan-10 21:26 
GeneralRe: Session usage Pin
N a v a n e e t h16-Jan-10 5:38
N a v a n e e t h16-Jan-10 5:38 
GeneralRe: Session usage Pin
N a v a n e e t h16-Jan-10 5:47
N a v a n e e t h16-Jan-10 5:47 

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.