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….




Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow




About Author

shiv

This author has not yet written a description. Please give them some time to get acquainted with the site and surely they will write their masterpiece.