CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Language: csharp

Silverlight 3 SaveFileDialog and Opera exception

1373 Views   
try { SaveFileDialog saveDialog = new SaveFileDialog { Filter = "Xml Files (*.xml)|*.xml", DefaultExt = ".xml", }; if ((bool)saveDialog.ShowDialog()) { using (Stream fileStream = saveDialog.OpenFile()) { ... } } } catch (Exception) { // custom code which displays notification: // "It looks like your browser doesn't support save dialog. Please, use Silverlight officially // supported browser (Internet Explorer, Firefox or Safari) for this functionality." }
by Danijel Stulic
  September 14, 2009 @ 4:19am
Tags:
Add a comment


Report Abuse
brought to you by:
West Wind Techologies