ASP.Net Custom TreeView and TreeNode .. InvalidCastException

I had to create custom TreeView and TreeNode, and weirdly getting Invalid Cast Exception while I was iterating Nodes and while casting them to my custom TreeNode…. It seems you have to override CreateNode method in your custom TreeView class and return your TreeNode instance from it….


Learning .Net and C# on Mac OS X

I have been using Java for a while now, few recent instances got me interested in understanding .Net and C#.

I am using mac and decided to try out mono 2.0 which provides .Net development platform for OS X.

Click to continue reading “Learning .Net and C# on Mac OS X”