private void LoadResources() { UpdateButton.Text = MagicForm.GetUpdateButtonText(DetailsViewMode.Edit, string.Empty, InsertButtonCaptionType.Create, UpdateButtonCaptionType.Save , (m_IsModernTheme ? CloseButtonVisibilityMode.None : CloseButtonVisibilityMode.Edit)); CancelLink.Text = Resources.AutoGeneratedButtonsField_CancelButton_Text; CancelLink.Visible = true; ButtonsSeparator.Visible = true; }
private void LoadResources() { BaseControl.LoadResources(List, this.GetType().BaseType.Name); EditForm.ObjectName = Resources.GroupsInstancesRolesControl_EditForm_ObjectName; EditForm.Fields[0].HeaderText = Resources.GroupsInstancesRolesControl_EditForm_InstanceListField_HeaderText; EditForm.Fields[1].HeaderText = Resources.GroupsInstancesRolesControl_EditForm_RoleListField_HeaderText; CaptionLiteral.Text = MagicForm.GetCaption(DetailsViewMode.Edit, Resources.GroupsInstancesRolesControl_ActionsTable_Caption); SaveButton.Text = MagicForm.GetUpdateButtonText(DetailsViewMode.Edit, Resources.GroupsInstancesRolesControl_ActionsTable_Caption); CancelButton.Text = Resources.AutoGeneratedButtonsField_CancelButton_Text; }
private void LoadResources() { CaptionLiteral.Text = MagicForm.GetCaption(DetailsViewMode.Edit, Resources.CustomStyleSheetEditControl_FormTable_ObjectName); UpdateButton.Text = MagicForm.GetUpdateButtonText(DetailsViewMode.Edit, Resources.CustomStyleSheetEditControl_FormTable_ObjectName, InsertButtonCaptionType.Create, UpdateButtonCaptionType.Save, CloseButtonVisibilityMode.None); CancelLink.Text = Resources.AutoGeneratedButtonsField_CancelButton_Text; }
private void LoadResources() { ButtonSave.Text = MagicForm.GetUpdateButtonText(System.Web.UI.WebControls.DetailsViewMode.Edit, string.Empty, InsertButtonCaptionType.Create, UpdateButtonCaptionType.Save, CloseButtonVisibilityMode.Edit); ButtonCancel.Text = Micajah.Common.Properties.Resources.AutoGeneratedButtonsField_CancelButton_Text; }