public void OnEditDevice(DeviceConfigurationController controller, ServerPartition serverPartition, Device dev) { // Populate the edit device dialog and display it AddEditDeviceControl1.EditMode = true; AddEditDeviceControl1.Device = dev; AddEditDeviceControl1.Partitions = controller.GetServerPartitions(); AddEditDeviceControl1.Show(true); }
public void OnAddDevice(DeviceConfigurationController controller, ServerPartition serverPartition) { // Populate the add device dialog and display it AddEditDeviceControl1.EditMode = false; AddEditDeviceControl1.Device = null; IList <ServerPartition> list = new List <ServerPartition>(); list.Add(serverPartition); AddEditDeviceControl1.Partitions = list; AddEditDeviceControl1.Show(true); }
protected void UpdateUI() { AddEditDeviceControl1.UpdateLabels(); DialogUpdatePanel.Update(); }