Posted on: 10/1/2012 1:18:51 AM | Views : 383

Dear community, I am creating an ASP.NET website and I'm using the AJAX Control Toolkit "AsyncFileUpload" control, I just want to pass a value to the "onclientuploadcomplete" client event, and I want to do that after saving the file from the "UploadedComplete" server event.
Here's my current AsyncFileUpload:
<asp:AsyncFileUpload ID="AsyncFileUpload2" runat="server" CssClass="fileupload" onclientuploadstarted="uploadStarted" UploadingBackColor="#CCFFFF" Width="221px" onclientuploaderror="upload_error" ClientIDMode="AutoID" onclientuploadcomplete="done_uploading" /> And her's my current javascript code:
<script language="javascript" type="text/javascript"> var baseUrl = "<%= ResolveUrl("~/") %>"; function done_uploading(THE_VALUE) { //TODO: ALERT THE_VALUE } ...

Go to the complete details ...