Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Download file from server on button click

Download file from server on button click

Scheduled Pinned Locked Moved WPF
wpfwcfsysadminhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sumit7034
    wrote on last edited by
    #1

    Hi I am working on silverlight I have binded a list box with ItemsSource="{Binding LstStrings, Mode=OneWay}" and inside that I have a button for downloading file from server. Now in binding I have a path of file for download. Please help me how to Implement when user click on download button it start download the file from binding path corresponding in the list from the server. Thanks

    A 1 Reply Last reply
    0
    • S sumit7034

      Hi I am working on silverlight I have binded a list box with ItemsSource="{Binding LstStrings, Mode=OneWay}" and inside that I have a button for downloading file from server. Now in binding I have a path of file for download. Please help me how to Implement when user click on download button it start download the file from binding path corresponding in the list from the server. Thanks

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Use the WebClient class to download the file. See here[^].

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups