Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: AjaxFileUpload saving uploaded file to byte array [27180]

$
0
0
First i would like to apologize since this is not exactly an issue, it is just that i can find no other place to ask about this or find any existing information about my problem, and since this control is so new i guess this is the best option. Also others might be wondering about the same.

Well, hopefully this is simple: I am creating a multistep application form, in one of those steps the user has to uploaded some documents like a resumé for example. To not break out of the process i would like to use AjaxFileUpload to make it easier for the user.
As soon as the file is uploaded it has to be saved directly to database ("image" datatype), which means converting the uploaded file to a byte array.

The thing is, i can not do it the normal way that is used with a traditional "FileUpload" control, and i can not deduce any alternate methods. The closest i think i got is that "AjaxFileUploadEventArgs" contains a "GetContents" method which either wont work or i am using it incorrectly.

I hope it makes sense and sorry again if this is the wrong place to ask. I will of course provide additional information ASAP if asked.
Comments: I forgot to mention that i use the .NET 3.5 version of the toolkit dated may 1st (not the updated dated may 8.)

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>