Simple drag and drop in VB

9 posts, 1 answers
  1. Michael
    Michael avatar
    29 posts
    Member since:
    Sep 2008

    Posted 26 Apr 2009 Link to this post

    Hi,

    Is there a simple drag and drop from listbox to listbox example using VB? I am having trouble converting the C# examples to VB.

    Thanks

    Michael
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 01 May 2009 Link to this post

    Hello Michael,

    did you check our online examples. They have C# and VB version:
    Click on the link below:
    http://demos.telerik.com/silverlight/#DragAndDrop/FirstLook

    click on the "View Code" button and then choose "Examples.xaml.vb" tab item as a language for the sample demo.

    Let us know if you face any problems with this.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Michael
    Michael avatar
    29 posts
    Member since:
    Sep 2008

    Posted 15 May 2009 Link to this post

    I have looked at the demo vb code. But it is so different from the simple listbox example that I still can't get my simple vb program to work. I can get the item in the listbox to move to another listbox but it won't drop.

     

    Thanks

     

  5. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 18 May 2009 Link to this post

    Hello Michael,

    If you cannot drop an item it probably means that you have not enabled the drop location to be used by the RadDragAndDropManager. Also, did you inherit the default ListBox control and added the additional code from the example that is required for the drag and drop functionality?

    If you still have problems, please send us your application so that we can take a look.

    Regards,
    Tihomir Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Michael
    Michael avatar
    29 posts
    Member since:
    Sep 2008

    Posted 29 Jun 2009 Link to this post

    After trying to convert two different C# examples to VB I am still not able to get a simple drag and drop to work. The demo vb code that I have tried to copy over doesn't compile either. I am missing too much stuff with it. It won't convert to Silverlight 3.0 so I can't even run it to see what is happening.

    I still need a simple VB drag and drop in Silverlight 3.0 that I can use to get started.

    Thanks
  7. Answer
    Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 06 Jul 2009 Link to this post

    Hello Michael,

    Sorry for the delayed reply!

    We have not yet released Silverlight 3 builds of the controls. There are some subtle differences between SL 2 and 3 and we will need a few weeks to convert the controls to SL3 so that they will be tested and work as expected.

    Still, most of the functionality should be unaffected when you use the SL2 builds in a SL3 application.

    I created a simple example with comments that will hopefully get you started with DragDrop in SL3 in VisualBasic. I am sorry that we have not provided more examples in VB, we are planning to address this issue in a help update coming for the Q3 release.

    I am attaching the sample project.

    Kind regards,
    Miroslav
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Michael
    Michael avatar
    29 posts
    Member since:
    Sep 2008

    Posted 21 Jul 2009 Link to this post

    Thanks Miroslav,

    That helped.
    I have it running now.

    Michael
  9. jtby
    jtby avatar
    43 posts
    Member since:
    Feb 2007

    Posted 06 Jan 2010 Link to this post

    Hi - after the Q3 release, the online VB demo for drag drop does still does not work.  Comparing the C# to VB code you can easily see why - but is not as easy to fix.  Can you suggest a working drag/drop VB demo?
  10. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 08 Jan 2010 Link to this post

    Hi John,

    Sorry for the inconvenience caused. We will make sure working VB examples are available for our next major release. Meanwhile, please find attached a converted version of the DragDrop sample. Let me know if you have questions on the matter.

    Best wishes,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner