Click here to Skip to main content
15,886,362 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Silverlight - Saving a file without the dialog? Pin
Mycroft Holmes23-May-11 14:04
professionalMycroft Holmes23-May-11 14:04 
GeneralRe: Silverlight - Saving a file without the dialog? Pin
Mark Salsbery23-May-11 14:13
Mark Salsbery23-May-11 14:13 
AnswerRe: Silverlight - Saving a file without the dialog? Pin
Pete O'Hanlon24-May-11 0:14
mvePete O'Hanlon24-May-11 0:14 
GeneralRe: Silverlight - Saving a file without the dialog? Pin
dbrenth24-May-11 3:07
dbrenth24-May-11 3:07 
GeneralRe: Silverlight - Saving a file without the dialog? Pin
Pete O'Hanlon24-May-11 3:32
mvePete O'Hanlon24-May-11 3:32 
QuestionSilverlight DataGrid unable to be edited when used with DataPager Pin
Steve Holdorf23-May-11 6:26
Steve Holdorf23-May-11 6:26 
AnswerRe: Silverlight DataGrid unable to be edited when used with DataPager Pin
Steve Holdorf25-May-11 3:23
Steve Holdorf25-May-11 3:23 
QuestionXBAP DragDrop System.ExecutionEngineException PROBLEM Pin
bhagyeshjoshi23-May-11 0:11
bhagyeshjoshi23-May-11 0:11 
Hello geeks,

I am facing a serious problem with XBAP. While performing DragDrop.DoDragDrop method it gives me System.ExecutionEngineException. this causes entire application crash. I have tried a lot but didnt worth anything.



My process is like this.



I am using wpf treeview. When I drag a treenode I am setting UIElement as DropData.

[DragDropEffects finalDropEffect = DragDrop.DoDragDrop((DraggingElement as FrameworkElement).Parent, DraggingElement, DragDropEffects.Copy);]





Now if this drag is going out of navigationWindow (IE in this case) change DropData with actual file name bound with that treeNode.

[DragDrop.DoDragDrop(this, new DataObject(DataFormats.FileDrop, new String[] { AppDomain.CurrentDomain.BaseDirectory + "Temp\\" + ((tvMainTree.SelectedItem as TreeViewItem).Tag as Document).DocumentName + "." + ((tvMainTree.SelectedItem as TreeViewItem).Tag as Document).DocumentExtension }), DragDropEffects.Copy);]



In this case while setting the second code line I am getting System.ExecutionException. EVEN If i put direct file path in first code line and comment second line, it drops the file at targeted location but after dropping it gives the same exception. The thing was working properly before but I dont know why it is behaving strange now.



Can anybody give some guidance.
- Regards,
Bhagyesh Joshi, India.
GeneralRe: XBAP DragDrop System.ExecutionEngineException PROBLEM Pin
bhagyeshjoshi24-May-11 2:32
bhagyeshjoshi24-May-11 2:32 
Question[SOLVED] XBAP on Firefox with Windows 7 Pin
CodingLover22-May-11 5:15
CodingLover22-May-11 5:15 
AnswerRe: XBAP on Firefox with Windows 7 Pin
Mark Salsbery22-May-11 5:42
Mark Salsbery22-May-11 5:42 
GeneralRe: XBAP on Firefox with Windows 7 Pin
AspDotNetDev22-May-11 19:27
protectorAspDotNetDev22-May-11 19:27 
GeneralRe: XBAP on Firefox with Windows 7 Pin
Pete O'Hanlon22-May-11 23:35
mvePete O'Hanlon22-May-11 23:35 
GeneralRe: XBAP on Firefox with Windows 7 Pin
CodingLover23-May-11 1:28
CodingLover23-May-11 1:28 
GeneralRe: XBAP on Firefox with Windows 7 Pin
Pete O'Hanlon23-May-11 1:47
mvePete O'Hanlon23-May-11 1:47 
GeneralRe: XBAP on Firefox with Windows 7 Pin
CodingLover23-May-11 1:26
CodingLover23-May-11 1:26 
GeneralRe: XBAP on Firefox with Windows 7 Pin
Pete O'Hanlon23-May-11 1:52
mvePete O'Hanlon23-May-11 1:52 
GeneralRe: XBAP on Firefox with Windows 7 Pin
CodingLover23-May-11 18:53
CodingLover23-May-11 18:53 
GeneralRe: XBAP on Firefox with Windows 7 Pin
Mark Salsbery23-May-11 14:07
Mark Salsbery23-May-11 14:07 
GeneralRe: XBAP on Firefox with Windows 7 Pin
Pete O'Hanlon23-May-11 20:29
mvePete O'Hanlon23-May-11 20:29 
QuestionSecurity model Pin
Mycroft Holmes21-May-11 0:07
professionalMycroft Holmes21-May-11 0:07 
AnswerRe: Security model Pin
Pete O'Hanlon21-May-11 4:50
mvePete O'Hanlon21-May-11 4:50 
GeneralRe: Security model Pin
Mycroft Holmes21-May-11 13:19
professionalMycroft Holmes21-May-11 13:19 
QuestionSilverlight delivery Pin
Mycroft Holmes21-May-11 0:01
professionalMycroft Holmes21-May-11 0:01 
AnswerRe: Silverlight delivery Pin
RobCroll22-May-11 13:03
RobCroll22-May-11 13:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.