httphandler - save file in Silverlight without showing Save as dialog -


is possible save file users local downloads folder without prompting them save dialog?

i have application user right mouse clicks choose option save specific file.

i have used ihttphandler interface not sure how call handler in code system start saving downloads file without user having navigate different page

one way out host required file on public url , navigate url in new tab/window silverlight app..

htmlpage.window.navigate(new uri("<your file's url>"), "_blank"); 

this should cause browser open link in new tab , in turn download automatically (occasionally depending on user settings)..


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -