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

Two visible AjaxFileUpload Controls on the same page calling wrong OnUploadComplete method

$
0
0

I have a desire to have two AjaxFileUpload Controls same page.  I have each in their own update panel, and of course two different ID's.  When just one or the other is visible they both work just fine, as each calls their assigned OnUploadComplete.

<ajaxToolkit:AjaxFileUploadID="ContentUpload"OnUploadComplete="Content_UploadComplete"OnClientUploadComplete="OnClientLoad"runat="server"AllowedFileTypes="jpg,jpeg,bmp,tif,png,gif,tiff,pdf,doc,docx,txt,htm,html"MaximumNumberOfFiles="1"ThrobberID="throbber"/>

<ajaxToolkit:AjaxFileUploadID="LogoUpload"OnUploadComplete="Logo_UploadComplete"OnClientUploadComplete="OnClientLoad2"runat="server"AllowedFileTypes="jpg,jpeg,bmp,tif,png,gif,tiff"MaximumNumberOfFiles="1"ThrobberID="throbber"/>

But when both controls are visible Both control calls the Logo_UploadComplete method rather than their assigned method.

Any thoughts?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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