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....
ASP.Net Custom TreeView and TreeNode .. InvalidCastException
Author
Shiv Bade
Tags
Published
September 14, 2009
Featured
Slug
Tweet