Skip to content

DropDownMenuBuilder needs more methods like DropDownBuilder<TModel> #449

@johnwc

Description

@johnwc

We need to be able to build the menu like we are able to with DropDown(""), but with standalone dropdown menu like so.

@Html.Bootstrap().DropDownMenu().MenuItems(m =>
{
    m.Link("Refresh", Url.RouteUrl("Refresh", new { id = Model.Id, name = Model.Name })).PrependIcon("fa fa-refresh").Tooltip("My tooltip.");
    m.Divider();
    ....
})

It would also be great if there was a RouteLink along side the Link method.

public BootstrapLink<TModel> RouteLink(string linkText, string routeName, object routeValues)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions