Despite the Linq-to-entity stuff, it's a standard TreeeView, and I know the SelectedNode property works - I use it myself.
So the question is - where are you trying to read it, when are you trying, and exactly how are you doing it? Because
private void tree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
TreeView tv = sender as TreeView;
if (tv != null)
{
Console.WriteLine(tree.SelectedNode);
Console.WriteLine(tv.SelectedNode);
Console.WriteLine(tv.SelectedNode.Text);
all works fine...as does:
private void tree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
TreeView tv = sender as TreeView;
if (tv != null)
{
TreeNode selected = e.Node;
if (selected != null)
{
Which is what I normally do.