Category Archives: javascript

>How To: Prevent Cross-Site Scripting in ASP.NET

> Applies To ASP.NET version 1.1 ASP.NET version 2.0 Summary This How To shows how you can help protect your ASP.NET applications from cross-site scripting attacks by using proper input validation techniques and by encoding the output. It also describes … Continue reading

Posted in .NET, asp.net, javascript | Leave a comment

>Keyboard Shortcut in ASP.NET

> Keyboard shortcuts are well known facility in Windows desktop applications and make application user’s life much easier. Although beginners like to use a mouse, that habit usually disappear after some time when user becomes more experienced, because keyboard shortcuts … Continue reading

Posted in .NET, asp.net, code_craft, development_tutorial, javascript | Leave a comment

>Setting the default button in ASP.NET form

>Using Javascript Hitting the enter key in a TextBox can sometimes have undesired effects like the wrong submit Button being “clicked“. The method described below allows you to specify a default Button to submit when the user hits the enter … Continue reading

Posted in .NET, asp.net, code_craft, development_tutorial, javascript | Leave a comment