Archive for April, 2009

Tabcontrols and Multiple Gridviews

Thursday, April 23rd, 2009

If you have a TabContainer with multiple Tabs, and more than 1 tab have a gridview, any postback actions on the gridview will cause your tabcontainer to jump back to the first tab if you are not did not enclose the TabContainer in an update panel.
Digging into the source code reveals that the ClientStateField property [...]

Performance of Generics SortedDictionary and Dictionary

Thursday, April 16th, 2009

Based on a Vladimir Bodurov blog post on IDictionary options – performance test – SortedList vs. SortedDictionary vs. Dictionary vs. Hashtable, it seems to indicate that SortedDictionary is slower during inserts as compared to Dictionary but faster during searching.
However during the course of my development in ASP.NET 3.5, there have been several occasions which seems [...]