This is a migrated thread and some comments may be shown as answers.

OnClientAdded and OnClientAdding not getting called when hitting the Add button

1 Answer 54 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 17 Mar 2011, 09:43 PM
<telerik:RadUpload  ID="uplFrontMatterDoc" runat="server" Skin="Web20"
                            MaxFileInputsCount="5" AllowedFileExtensions=".doc"                           
                            OverwriteExistingFiles="false"
                            OnClientAdding="function(){alert('adding');}" 
                            OnClientAdded="myOnClientFileSelected" />



Have the above upload control and I see that the 2 client events (Adding and Added) get called when the page containing the control is first loaded, however they do not get called again when I click the Add button and a new file upload gets added

What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Mar 2011, 12:55 PM
Hello Ron,


The client side events (OnClientAdding and OnClientAdded) fired for each addition of RadUpload in my case. I am using RadControls version 2010, 3, 1109, 35. Please try downloading this version and see whether it helps.


-Shinu.
Tags
Upload (Obsolete)
Asked by
Ron
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or