protected virtual void OnUploadControlProviderCreated(ASPxPropertyEditorUploadControlProviderArgs e) { EventHandler <ASPxPropertyEditorUploadControlProviderArgs> handler = UploadControlProviderCreated; if (handler != null) { handler(this, e); } }
void ProviderControllerOnUploadControlProviderCreated(object sender, ASPxPropertyEditorUploadControlProviderArgs asPxPropertyEditorUploadControlProviderArgs) { ((UploadControlPropertyEditorProviderController)sender).UploadControlProviderCreated -= ProviderControllerOnUploadControlProviderCreated; ApplyModel(new[] { asPxPropertyEditorUploadControlProviderArgs.ControlProvider }); }