Exemple #1
0
        protected virtual void OnUploadControlProviderCreated(ASPxPropertyEditorUploadControlProviderArgs e)
        {
            EventHandler <ASPxPropertyEditorUploadControlProviderArgs> handler = UploadControlProviderCreated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 void ProviderControllerOnUploadControlProviderCreated(object sender, ASPxPropertyEditorUploadControlProviderArgs asPxPropertyEditorUploadControlProviderArgs)
 {
     ((UploadControlPropertyEditorProviderController)sender).UploadControlProviderCreated -= ProviderControllerOnUploadControlProviderCreated;
     ApplyModel(new[] { asPxPropertyEditorUploadControlProviderArgs.ControlProvider });
 }