This code is part of AjaxControlToolkitSampleSite. To be exact, it is in the AsyncFileUpload control:
AsyncFileUpload1.UploadedComplete += new EventHandler<AsyncFileUploadEventArgs>(AsyncFileUpload1_UploadedComplete);
How can I translate this to VB.NET?
Here you go:
Alternatively, within your code, you can select the
AsyncFileUpload1control from the left-hand dropdown list (just above the code) and then select theUploadCompleteevent from the right-hand dropdown list.This will automatically create an event handler with the correct signature using the VB
Handlesdeclaration.