Aug 29, 2015, 1:39 PM
[CLOSED] Hyperlink in a menu button
Hi,
I would like to add a Hyperlink in the Menu Button. My Menu Button looks like this -
Thanks.
I would like to add a Hyperlink in the Menu Button. My Menu Button looks like this -
@(Html.X().Button()
.Text((string)(Model.LoginUserName))
.Menu(Html.X().Menu()
.Items(
Html.X().MenuItem()
.Text("Do Something")
.Icon(Icon.Anchor)
.DirectEvents(de =>{
de.Click.Url = Url.Action("doSomething", "Main");
}),
X.MenuItem()
.Text("Item 2")
.Icon(Icon.GroupDelete),
------> here a link to www.google.com
)
)
)
How can i put a hyperlink to www.google.com as the last Menu Item in the Menu Button ? Please assist.Thanks.
Last edited by Daniil; Sep 04, 2015 at 5:52 PM.
Reason: [CLOSED]