Drag and Drop doesn't work correctly from Addin

Last post 07-02-2009 3:17 AM by YarikK78. 0 replies.

Sort Posts:

  • Drag and Drop doesn't work correctly from Addin

    07-02-2009, 3:17 AM
    • Member
      point Member
    • YarikK78
    • Member since 10-31-2007, 6:03 AM
    • Posts 5

    HI

    I have an Addin, which worked fine with previous versions of VS.
    This addin is a library of our controls, I just drag and drop our controls from there to ASP form.

    basically all I do from this addin is
    protected override void OnItemDrag(System.Windows.Forms.ItemDragEventArgs e)
    {
          base.OnItemDrag(e);
          DoDragDrop("<a href=test.aspx>Test</a>", DragDropEffects.Copy);
    } // OnItemDrag

    the problem is the Design View of VS 2008 replaces all < > with &lt &gt, while VS2005 creates control.

    In HTML view it doesnt't replace, it works fine, but I really need Design View working correctly.

    Any ideas how to fix it?

Page 1 of 1 (1 items)