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

前端 未结 5 1526
爱一瞬间的悲伤
爱一瞬间的悲伤 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条回答
  •  醉酒成梦
    2020-12-10 12:28

    How about asking first, before downloading? It seems to suggest from the error message that it is the way Silverlight wants you to prompt to ensure it knows a user requested the action, not you spaming the user with popups.

    Silverlight security model aside, I'd rather not wait for a download to finish before being asked where to put it!

提交回复
热议问题