Hi,
I am going to try to implement RadUpload control to upload end user's files to Sql Server DB, saving each file in a varbinary(max) field.
What will be the best approach to download the file previously saved at the server in sql server db?
Can I just use a WCF method to read the data from sql server db and return it to the client as an array of bytes?
Do I also have to break the downloaded data into chinks, like the RadUpload Control does while uploading files.
Is it essential to also use ashx handler file while downloading file, or can I use wcf? RADUpload control uses ashx.
In ASP.Net I used to use Response object, and browser would automatically open save as window to save binary data as a file. How can I save binary data as a file in silverlight?
Thank you,
Midav
I am going to try to implement RadUpload control to upload end user's files to Sql Server DB, saving each file in a varbinary(max) field.
What will be the best approach to download the file previously saved at the server in sql server db?
Can I just use a WCF method to read the data from sql server db and return it to the client as an array of bytes?
Do I also have to break the downloaded data into chinks, like the RadUpload Control does while uploading files.
Is it essential to also use ashx handler file while downloading file, or can I use wcf? RADUpload control uses ashx.
In ASP.Net I used to use Response object, and browser would automatically open save as window to save binary data as a file. How can I save binary data as a file in silverlight?
Thank you,
Midav