locked
Drag and drop problem RRS feed

  • Question

  • Hi,

    I'm trying to implement a simple "file open" mechanism through drag and drop. I've created a simple business application and added the "Drop" event to the layout. When i drop a .csv file from my desktop to my browser the event fires and everything works (parsing it and so on). I want to implement the same idea in another business application of mine. I put the exact same code there on some other Canvas.Drop event, but when i drag the .csv file to my browser there, IE just opens the file in excel. Also, I dont get the same "drag-drop" cursor as i did in my first application. I'm assuming it has something to do with my application configuration settings, but I couldnt find any differences between the 2 applications. Their settings look exactly the same.

    What should I be looking for to allow drag/drop?

    Thanks,

    Eyal

    Friday, June 25, 2010 6:01 AM

Answers

  • Hi,

    Check that you have set AllowDrop property to true.

    Friday, June 25, 2010 5:00 PM

All replies

  • Hi,

    Check that you have set AllowDrop property to true.

    Friday, June 25, 2010 5:00 PM
  • yup... that was it. my bad

     

    Sunday, June 27, 2010 6:51 AM