I created a usercontrol with the AjaxFileUpload. I am having problems making it work efficiently.
When the UploadComplete event is triggered, multiple postbacks to server are called. After clicking the upload button, the Page_Load event from my page is called multiple times before it enters the UploadComplete block. This causes multiple binding. If I am retrieving from my database on Page_Load, this is very inefficient.
Is there anyway to prevent this server-side?
When the UploadComplete event is triggered, multiple postbacks to server are called. After clicking the upload button, the Page_Load event from my page is called multiple times before it enters the UploadComplete block. This causes multiple binding. If I am retrieving from my database on Page_Load, this is very inefficient.
Is there anyway to prevent this server-side?