Adding Client script to TreeNode Click Event

Most of the ASP.NET 2.0 controls provide way to add client events to them. For example, TextBoxes, checkbox are simply rendered as <input> elements and can be easily hooked to JavaScript functions either programmatically or declaratively. However, TreeNode is a special case in that. There is no straightforward way to hookup client events to it….


Resolving Common issues while Applying Site Templates (.stp) on MOSS 2007

Lately, I have been working a lot with site templates in MOSS 2007. I have seen common issues which keep occurring now and then. I am posting the resolution of those since you might also run across them frequently.   File Cannot be found This one is easy. In 99% of the cases, this usually…


Use right tools for x64 machines

If you are setting up a x64 server for MOSS, there are some things to be taken care of. I ran into couple of issues while setting up my development machine and had a hard time debugging it. While registering ASP.NET 2.0 framework with IIS, make sure to use 64 bit version of aspnet_regiis.exe. This…


Managed Debugging and inspecting Jitted code With WinDbg

WinDbg is a powerful tool to debug applications. Lately, its use has been extended to managed debugging as well through an extension called sos.dll (Son of Strike). Sos.dll is shipped with both .NET Framework 2.0 and .NET 1.1 Framework and is a WinDbg extension which allows WinDbg to read managed data structures such as Method…


Resolving Very Slow Symbol Loading with VS 2008 during debugging

Recently, I was encountering insanely slow project loading times during debugging in Visual Studio 2008. Interestingly, this only happened while loading the project only in debug mode. Also, during the slow symbol loading time, the status bar at Visual Studio 2008 always showed Loading Symbols For ____.Dll. To track it down, I enabled logging for…


Showing Exchange Inbox in MOSS 2007

Recently, I have seen a lot of discussions on forums about showing user’s mailbox on a portal homepage. This is very similar to the case in My Site, but in this case the portal is not My Site and the requirement is to let each user view his/her mailbox using the My Inbox Web Part….


Switch the sharepoint webpart page Display Mode into Edit Mode and Vice Versa

Recently one of my clients had a requirement to go into Edit mode of a sharepoint page using a manual link displayed in quick launch. He was lazy of going to Site Actions -> Edit Page and then again going somewhere else for Exit Edit Mode 🙂 To give some background for beginners, whenever we…


Passing multiple filter values to EWA pivot table filter cell

Filter webparts in WSS are a great way to provide filtering in many different webparts like List View, Business Data Catalog, Excel Web Access etc. They are also great way to provide data view personalization when used with Excel services coupled with Analysis Services of SQL server.This is described in detail on Excel Team blog…


Implementation of Logging and Instrumentation Application Block in MOSS 2007

Continuing the series of articles on Enterprise Library, I have written the first articleon the implementation of Logging Application Block in MOSS 2007. Due to inclusion of formatted code and images, I have directly uploaded this on Codeproject.The article can be viewed here


RSS Reader webpart with tab support and asynchronous periodic data refresh using AJAX

I have recently written my first article on Codeproject.The article describes the development of AJAX enabled webpart on MOSS 2007 SP1.The cool thing about it is the that it also utilizes the AJAX Control Toolkit including programmatically adding and styling TabContainer and TabPanel controls which can be quite tricky for a beginner. The article can…