public static void DecryptControlsValue(string[] controlIDs, Control container) { foreach (string ctrlID in controlIDs) { Control ctrl = container.FindControlByID(ctrlID, true); if (ctrl != null) { string ctrlValue = GetControlValue(ctrl); if (string.IsNullOrEmpty(ctrlValue) == false) { SetControlValue(ctrl, DecryptValue(ctrlValue)); } } } }
internal UploadProgressContentEventArgs(Control container) { this.AfterFileSelectorContainer = container.FindControlByID("afterFileSelector", true); }