protected override void OnInit(EventArgs e) { base.OnInit(e); this.ValidateQueryStrings(); base.CaptionTextField = string.Empty; PopupForm popupForm = (PopupForm)this.Page; popupForm.Title = string.Empty; this.SetTitleAndCaption(popupForm); }
protected override void SetTitleAndCaption(PopupForm form) { if (base.IsNewRequest) { form.Caption = Strings.UMHolidayScheduleNewCaption; form.Title = Strings.UMHolidayScheduleNewTitle; return; } form.Title = Strings.UMHolidayScheduleEditTitle; base.CaptionTextField = "Name"; }
protected abstract void SetTitleAndCaption(PopupForm form);