Difference between cache, session and viewstate

Cache: Its nothing but a thought kind of memory. In respect to asp.net it’s the memory of the machine/server from where the source-code is running. It is the one way which allow to store complex data for reusability. Now think a criteria where clients access an ASP.NET page, there are basically two ways to provide…

January 25, 2009 | by

Capturing CTRL+Keys using JavaScript

This is the practical scenario where sometime one wants to disallow Ctl+keys combinitions on web-pages. Following Code-snippet tells the whole story: <html><head><script language=”JavaScript”>function testCtrlKeys(e){ //Create an array for all possible keys var arrCtrlKeys = new Array(‘a’, ‘n’, ‘c’, ‘x’, ‘v’, ‘j’); var key; var isCtrl; if(window.event) { key = window.event.keyCode; //Valid only for Internet Explorer…

January 23, 2009 | by

Capturing MouseEvents Using JavaScript

Capturing Mouse Events Using JavaScript : Sometime there is a need to disable MouseEvents for specific task(s) in Web-Pages. The following code-snippet shows how to achieve the same : <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”><html><head><title>Capturing Mouse Events Using JavaScript</title></head><body><div><b> Testing with Link Button : </b> <a href=”javascript:void(null)” onmousedown=”return captureButton(event)” onmouseup=”return preventOperation(event)” onclick=”return preventOperation(event)” ondblclick=”return…

January 23, 2009 | by

Get MicroSoft SDK’s under single roof

Now MicroSoft SDK’s are available in a single page. One can get download required SDK’s from the page MicroSOft SDK’s. The are under heads : 1. Azure Services Platrform2. Office3. Windows Desktop4. Devices5. Games6. Server Technologies7. Others If need any kind of assistant, please fell free to contact me.

January 23, 2009 | by

MCP/MCTS : Welcome Kit

Today I have got my Welcome kit for MCTS. I have successfully achieved the same with 96.4% marks. I got this news from my wife Shuby Arora. Want to share my joy with all of you.

January 15, 2009 | by