Event Logging Using Reflection
When exceptions occur during the execution of an application, the stack trace contains the detailed location of where the exception is originated.
Software Development, Programming
When exceptions occur during the execution of an application, the stack trace contains the detailed location of where the exception is originated.
I ran into this weird compile time error the other day, and as it turned out, this is due to the limitation of Visual Studio 2005 deployment capabilities.
Typically, there is rarely a need to change a control’s ID. However, this practice is sometimes useful when debugging a custom control, partiularly one that contains dynamically generated controls.
I ran into an interesting problem with the Web Setup project in ASP.Net 2.0 last Friday.
It seems that the DropDownList control in ASP.Net 2.0 really has some issues. Besides the one I mentioned in an earlier post, I recently ran into another annoying problem.
I always use Global.asax for centralized error handling in my ASP.Net applications and typically it works great.
We often need the capability of selecting multiple rows from a grid, unfortunately the GridView component in ASP.Net 2.0 does not offer an out-of-box support for such functionality.
Reflection is case sensitive by default, which comes at no surprise to most C# developers.
In a role based application, it is often required that certain controls on the UI form be enabled and disabled based on user’s security credentials.
I ran across an exception "Microsoft JScript runtime error: ‘this._postBackSettings.async’ is null or not an object" the other day while writing some AJAX code with .Net AJAX Extensions for .Net framework 2.0.
A while ago, I discussed some interesting behavior of File.Exist function in .Net. Recently I found out that File.Copy is just as elusive when UNC is involved.
I came across something rather interesting the other day when trying to determine what sorting algorithms .Net Framework uses in its list class: The built-in sorting method runs much faster than the reverse-engineered and then compiled code, even though in…
Earlier today, while I was trying to bind a collection to a drop down list, I got the following exception:
I remember that in one of my graduate school classes at University of Wisconsin – Madison, professor Rastislav Bodik (he had left UW Madison and gone to UC Berkeley since) showed us this article Reverse Engineering the Twelve Days of…
Ubuntu and OpenSUSE have been my top choices of Linux distros over the years.