public static ComponentBuilder <TConfig, FluentBootstrap.Buttons.LinkButton> AjaxLinkButton <TConfig, TComponent>( this BootstrapHelper <TConfig, TComponent> helper, string linkText, string href, string btnStyle = "btn-primary", System.Web.Mvc.Ajax.AjaxOptions ajaxOptions = null ) where TConfig : BootstrapConfig where TComponent : Component, ICanCreate <FluentBootstrap.Buttons.LinkButton> { ajaxOptions = ajaxOptions ?? new AjaxOptions() { OnSuccess = "indexViewModel.modalLoaded" }; var link = helper.LinkButton(linkText, href).AddCss("btn", btnStyle) .AddAttributes(ajaxOptions.ToUnobtrusiveHtmlAttributes()); return(link); }