Disabling debug in other than dev environment – Sys.InvalidOperationException

If your web application using Microsoft Ajax (Ajax Control Toolkit), then you probably encounter common unknown javascript error as following:

Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.
Cause:
Unknown handler error in MicrosoftAjax.debug.js
Resolution:
To ensure your server not prompting this debug message on your test or production server, just set debug=”false” in web.config. By doing this, ASP.net [...]


Consuming ASP.NET Handler By jQuery Ajax With JSON

Step towards Web 2.0 development nowdays, ajax is one of the important element in web development. There are various way of doing asynchronous call to server or web service to execute a job.
In this post, I am using jQuery to consume ASP.NET handler through a simple javascript codes. In the normal scenario, if client side [...]


Get Process ID from multiple application pool – iisapp

To attach process for remote debugging to server which contains multiple application pool, you need to attach to process name w3wp.exe. If your server containing multiple application then you will see multiple w3wp.exe. The only way to attach to correct w3wp, you are required to find out the process id of [...]


Enhanced ASP.NET Tree View with JQuery

Recently I come across to a project which required a tree view with some ASP.NET control to be attach with some tree view node. The default ASP.NET treeview doesn’t provide this feature and there is no way to extending the default tree view. Therefore, I decided to write a composite control from scratch.
The purpose of [...]