I am trying to find an example or code to be able to create a CSV or text file in silverlight as a download link.
I did this in ASP.net, but cannot figure out how to use Silverlight. Am I spinning my wheels? Or should I just create an ASP page? Is there any way to do this in C #?
I would like to do it right, not some hacked work, and I will be grateful for any feedback and advice.
In ASP, I would use:
Response.ContentType = "text/csv" Response.AddHeader "Content-disposition", "attachment;filename=""EPIC0B00.CSV""" Response.write....
content-type csv silverlight download
Rick
source share