Silverlight 2 - Drag and Drop Part 2 of 2

September 26, 2008 08:49 by Corey



This is part 2 of the drag and drop videos, this is where I show a different method than the one provided by silverlight.net. Basically I found the concept of capture mouse technique to be too limiting in my applications and this method was how I was able to do drag and drop in my application where during dragging of an object I needed to interact with other items. Hope this helps, and more videos are coming.

Source: Blogger.Demo.DragAndDrop2of2.zip (538.02 kb)


Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

September 27. 2008 13:58

pingback

Pingback from alvinashcraft.com

Dew Drop - September 27, 2008 | Alvin Ashcraft's Morning Dew

alvinashcraft.com

October 13. 2008 22:17

sulfur_scratch

Great video. Look forward to seeing more from you in the future

sulfur_scratch

March 31. 2009 21:33

Paul Chu

Corey,

Thanks for sharing Smile

I'm not doing SL yet but I want to learn to drag an item from one list to
another.
Such as a List of Students on one side and a List of Classes on the other.

Regards, Paul

Paul Chu

April 7. 2009 19:26

paul

This is a great tutorial but I have a problem running it. Actually when I first loaded the solution it ran exactly as advertised. In visual studio though opening the page.xaml (not in designer) crashed visual studio. I was able to fix that by opening the xaml in Expression and saving it. But since then whenever I try to run the app I get a page that shows an image that says "install silverlight" Other Silverlight apps continue to run correctly. It seems to be something about this solution. I tried a clean and rebuild but nothing works so far.

Anyone have an idea what's going on?

Thank you,
Paul

paul

April 8. 2009 12:35

Corey

Paul

Its basic xaml and there is no code in the constructor so there should be no reason the page.xaml is crashing in visual studio. Are you using Silverlight 3 beta bits? The demo is fairly straight forward but it does have problems with silverlight 3 out of the gate?

Corey

April 8. 2009 15:32

paul

Corey,

I deleted the project folder and did a fresh unzip. Same problem. Then after monkeying with the solution file to no avail, I finally removed the .suo file and that solved the problem.

I'm still mystified about what was going on but it's fixed now.

Thanks for posting this example.

paul

May 29. 2009 22:39

tukang nggame

this is great information that i know a lot of people are interested in

tukang nggame

June 12. 2009 11:15

tukang nggame

Useful info

tukang nggame

June 25. 2009 05:06

parshu

Very useful, simple and informative. Thanks for the great video. Saved me tonnes of headache Smile

parshu

Add comment


(Will show your Gravatar icon)  

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

July 3. 2009 20:42