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

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