title: Drag drop error : Cannot access adorners on element that has no adorners
body: <p>I am implementing the Drag drop solution mentioned here :</p>
  
  <p><a href="http://bea.stollnitz.com/blog/?p=53" rel="nofollow">http://bea.stollnitz.com/blog/?p=53</a></p>
  
  <p>I have few <code>ListBox</code>es + with <code>WrapPanel</code> and Items. i should be able to drag and drop item from any of the boxes to any other.</p>
  
  <p>When I drag an item and move it across to another box, it throws me error:</p>
  
  <p>Cannot access adorners on element that has no adorners.</p>
  
  <p>at this line :</p>
  
  <pre><code>if (this.adornerLayer != null)
  {
      this.adornerLayer.Update(this.AdornedElement);
  }
  </code></pre>
  
  <p>I tried to see the value of AdornedElement i saw that it has this value :</p>
  
  <p><code>ListBoxItem : DisconnectedItem</code>. I saw the Content of <code>ListBoxItem</code> and seems it also has disconnected item.</p>
  
  <p>The issue also happens if i move my items withing the same listbox. My listbox uses a wrapPanel as <code>ItemsPanelTemplate</code>.</p>
  
  <p>the hierarch tree is like this of teh listBoxes are :</p>
  
  <p>1 List box :
  UserControl 
  Border
  Grid
  Grid
  Border
  Border
  Border
  ScrollViewer
  ListBox
  ItemsPanel</p>
  
  <p>Other 3 ListBoxes :
  UserControl 
  Border
  Grid
  Grid
  Grid
  tabControl
  tabItem
  Grid
  Border
  Border
  Border
  ScrollViewer
  ListBox
  ItemsPanel</p>
  
  <p>AnyOne who has faced this issue or can help me what is going wrong ?</p>
  
  <ul>
  <li>Girija</li>
  </ul>