2010-03-22 51 views
1

我想选择一些文件中的Windows Phone 7(在模拟器)上传,同时,任何企图在打开文件对话框的ShowDialog的导致安全异常。打开文件对话框正在从一个按钮点击事件调用,但我得到一个如何选择从本地文件系统中的文件的Windows Phone 7

SecurityException 

[FileDialog_ActiveScripting] 
Arguments: 
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.40806.0&File=System.Windows.dll&Key=FileDialog_ActiveScripting 

在OpenFileDialog.ShowDialog的Silverlight的版本仰望抛出:SecurityException指出,错误的是:

Active Scripting in Internet Explorer is disabled. 

-or- 

The call to the ShowDialog method was not made from user-initiated code. 

任何人都有幸在Windows Phone 7中使用OpenFileDialog和ShowDialog?

回答

0

这从独立存储到您的PC上传/下载文件的演示应用程序演示了独立存储文件系统的导航。

Reference

相关问题