private WinOpportunityActionLink(IPortalContext portalContext, int languageCode, WinOpportunityAction action, bool enabled = true, UrlBuilder url = null, string portalName = null) : base( portalContext, languageCode, action, LinkActionType.WinOpportunity, enabled, url, portalName, DefaultButtonLabel, DefaultButtonTooltip) { Modal = new ViewWinOpportunityModal(); if (url == null) { URL = EntityListFunctions.BuildControllerActionUrl("WinOpportunity", "EntityAction", new { area = "Portal", __portalScopeId__ = portalContext.Website.Id }); } }
public WinOpportunityActionLink() { Modal = new ViewWinOpportunityModal(); Enabled = false; }