public static string GetCssClass(CommandSprite.SpriteId spriteid) { if (spriteid == CommandSprite.SpriteId.NONE) { return(string.Empty); } return(CommandSprite.GetBaseCssClass() + " " + CommandSprite.ImageStyles[(int)spriteid]); }
public ViewO365ReportCommand(string text, CommandSprite.SpriteId imageID) : base(text, imageID) { this.DialogSize = ViewO365ReportCommand.DefaultDialogSize; this.OnClientClick = "ViewO365ReportCommandHandler"; base.ImageAltText = Strings.ViewDetailsCommandText; this.BypassUrlCheck = true; base.Visible = !string.IsNullOrEmpty(ViewO365ReportCommand.o365Url); this.ServiceId = "Exchange"; }
public Command(string text, CommandSprite.SpriteId imageID) { this.OnClientClick = base.GetType().Name + "Handler"; this.SelectionMode = SelectionMode.SelectionIndependent; this.RefreshAction = RefreshAction.SingleRow; this.ConfirmDialogType = ModalDialogType.Warning; this.Text = text; this.ImageId = imageID; this.Visible = true; this.CustomSpriteCss = string.Empty; }
public WizardCommand(string text, CommandSprite.SpriteId imageID) : base(text, imageID) { this.Name = "New"; }
public PopupCommand(string text, CommandSprite.SpriteId imageID) : base(text, imageID) { this.TargetFrame = "_blank"; this.HasBookmark = true; }
public NavigateCommand(string text, CommandSprite.SpriteId imageID) : base(text, imageID) { this.SelectionParameterName = "id"; }