Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxFileUpload

$
0
0

I need to save the file uploaded using AjaxFileUpload on button click only. How can I pass an object of the fileUploader to the Button click function on the aspx.cs page..??

We can save the file uploaded using AjaxFileUpload on the function called by the uploader on its UploadComplete. I know that and I know how it works. 

But I want to save the file uploaded only on my button click. Whenever i put the file save code on the button click event on aspx.cs file, am getting an error, "Object reference not set to an instance of an object"

Please help me. Am stuck on this part for nearly 3 weeks.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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