Hello,
I am creating a menu and I am trying to get the LAST item to float right,
as you can see in my code, I am setting the last item HTMLAttributes @class to float right but it is not repsecting that.
What can I do to fix it.
@(Html.Kendo().Menu().Name("Menu")
.Items(items =>
{
items.Add().Text("Clear Jobs")
.Items(i =>
{
int days = ViewBag.LogDetailDays;
i.Add().Text("Clear jobs created more than " + days + " days ago")
.Action("Jobs_DeleteLast", "Jobs")
.HtmlAttributes(new { onclick = "return confirm('Are you sure you want to clear jobs?');" });
i.Add().Text("Clear all jobs")
.Action("Jobs_DeleteAll", "Jobs")
.HtmlAttributes(new { onclick = "return confirm('Are you sure you want to clear jobs?');" });
});
items.Add().ImageUrl("~/Images/refresh.png")
.Url("~/Jobs.html")
.HtmlAttributes(new { onclick = "refreshGrid()",
@class = "float-right",
title = AdminUI.RefreshButton_Tooltip })
.Url("#");
})
)