public static ComponentBuilder <TConfig, FluentBootstrap.Dropdowns.DropdownLink> AjaxDropdownLinkButton <TConfig, TComponent>( this BootstrapHelper <TConfig, TComponent> helper, string linkText, string href, TextState state = TextState.Primary ) where TConfig : BootstrapConfig where TComponent : Component, ICanCreate <DropdownLink> { var ajaxOptions = new AjaxOptions() { OnSuccess = "indexViewModel.modalLoaded" }; var attributes = ajaxOptions.ToUnobtrusiveHtmlAttributes(); var link = helper.DropdownLink(linkText, href).AddAttributes(attributes); return(link); }