Sunday 18 October 2009

Silverlight 3 – dialog

Had one of those thick moments the other day whilst trying to debug a silverlight 3 app.

Used the new SaveFileDialog and the debugger was throwing an error when the dialog attempted to execute the .Open method.

It took me a moment to realise that the problem was that the browser needed to execute the action and that the action being executed by the code represented a security risk.

Once I ran the code to a point after the .Open I could debug to my hearts content.

No comments:

Post a Comment