This is a migrated thread and some comments may be shown as answers.

Simple drag and drop in VB

8 Answers 114 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 26 Apr 2009, 09:18 PM
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

8 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 01 May 2009, 01:46 PM
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.
0
Michael
Top achievements
Rank 1
answered on 15 May 2009, 05:00 PM

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

 

0
Tihomir Petkov
Telerik team
answered on 18 May 2009, 01:50 PM
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.
0
Michael
Top achievements
Rank 1
answered on 29 Jun 2009, 09:33 PM
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
0
Accepted
Miroslav
Telerik team
answered on 06 Jul 2009, 03:25 PM
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.
0
Michael
Top achievements
Rank 1
answered on 21 Jul 2009, 04:13 PM
Thanks Miroslav,

That helped.
I have it running now.

Michael
0
jtby
Top achievements
Rank 1
answered on 06 Jan 2010, 07:13 PM
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?
0
Kiril Stanoev
Telerik team
answered on 08 Jan 2010, 02:46 PM
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.
Tags
DragAndDrop
Asked by
Michael
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Michael
Top achievements
Rank 1
Tihomir Petkov
Telerik team
Miroslav
Telerik team
jtby
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or