“Dialogs must be user-initiated.” with SaveFileDialog in Silverlight 3

前端 未结 5 1527
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-10 11:56

I am working on a Silverlight 3 app with C#. I would like to allow the user to download an image from the Silverlight app. I am using SaveFileDialog to perform the file down

5条回答
  •  猫巷女王i
    2020-12-10 12:46

    As Keith mentioned this is by design. This tutorial gives an excellent example using code which I used to download a file from the server in the "correct" way. (Works in Silverlight 4 too)

提交回复
热议问题