Printer friendly version Trying to convert MýTreeView to C#
by Rasmus

I've converted the code to C#.
Hey

I've converted the MyTreeView code to c#. It compiles and shows the first tree. But when I try to expand a node (or do a postback in general), I get a null exception in "MyTreeView.LoadSelection( string str )".

The parameter "str" is null because the "LoadViewState" line
Page.Request(UniqueID + "_selected") returns null. I can't see that there should be anything in the request object?!

If you want I can send you the code (you can also get it, once I get it working, if you want to provide your visitors with a c# version ;o) )

Best regards
Rasmus Lindgren

Write reply   Tip a friend  Go back