Elegant Flexigrid for Your Web App

Read more about Elegant Flexigrid for Your Web App article

I have been playing around with a free datagrid control available, called FlexiGrid. It has to be one of the very best grid control available as open source. Having a very elegant user interface and very easy to integrate and customised codes, we could integrate FlexiGrid into any existing applications.

How to get QueryString using JavaScript

Read more about How to get QueryString using JavaScript article

A very handy function to grab any query string using Javascript:

Compress WebResource.axd in Client side HTML

Read more about Compress WebResource.axd in Client side HTML article

A very handy tool to compress the annoying webresources.axd script. http://madskristensen.net/post/Compress-WebResourceaxd-in-ASPNET.aspx

Use Enterprise Library for Data Access in one line code

Read more about Use Enterprise Library for Data Access in one line code article

Enterprise Library is a very useful component developed by Microsoft to help developers solving many common tasks. One that I use a lot is the data access block, which allows you to run data access query in just one line of code! (Saves all the work in writing a command and pass to a reader, etc).

Object references between two different object scopes are not allowed

Read more about Object references between two different object scopes are not allowed article

When using ORM, should always keep in mind that only one object scope is used. The example came with the package doesn't really explain this well. Should always declare a page_init call which declares the object scope and store it in session and try to keep using it for any business operations:

Convert DataSet to XMLDocument

Read more about Convert DataSet to XMLDocument article

How to convert data to xml file? Here is a very useful command to convert dataset or datatable to an XML Document:

How to check if a method is overridable

Read more about How to check if a method is overridable article

For a method or properties to be overridable, it must has a virtual property in its base class set as true as well, is final must be set as true. To determine whether a method is overridable, it is not sufficient to check that IsVirtual is true.

Security Exception when running on IIS7

Read more about Security Exception when running on IIS7 article

I stumbled upon an error when deploying a web application onto IIS7 running on Vista. After days of trying to solve, it's actually due to the fact that the application is set to medium trust but it actually needs Full Trust due to using Reflection in the code.