title: TreeListLookupEdit - Focus Node
body: <p>I'm trying to select a node in TreeListLookupEdit.</p>
  
  <pre><code>var fn = treeListLookupEdit1.FindNodeByKeyID(NodeId);
  treeListLookupEdit1.Properties.TreeList.FocusedNode = fn;
  </code></pre>
  
  <p>My TreeListLookupEdit is already filled with the data (from an EF datasource), I need to focus the desired row and see this value in both treeListLookUpEdit1.Text (when it is in a closed state) and when I open a popup window too.</p>
  
  <p>But nothing happens, it does not selects the node.</p>
  
  <p>I've also tried this (Where "treeNodes" is the actual TreeList inside the TreeListLookupEdit):</p>
  
  <pre><code>treeNodes.FocusedNode = fn;
  </code></pre>
  
  <p>But, when I run this piece of code, it works:</p>
  
  <pre><code>treeListLookupEdit1.ShowPopup();
  treeListLookupEdit1.Properties.TreeList.FocusedNode = fn;
  treeListLookupEdit1.ClosePopup();
  </code></pre>
  
  <p>So, how to avoid using the ShowPopup?</p>
  
  <p><strong>Update</strong>
  It seems, you should set EditValue</p>
  
  <pre><code>treeListLookupEdit1.EditValue = NodeId
  </code></pre>