I want to require a credential to be entered so I can track a users role, etc. What is the recommend way to display the _LoginPartial in the Menu? Or, do I accomplish this by making it part of the <div> ?
What DOESN'T look right:
<
div
class
=
"container menu-content"
>
<
div
class
=
"navbar-collapse collapse"
>
<
partial
name
=
"_CookieConsentPartial"
/>
<
div
id
=
"responsive-panel"
>
@(Html.Kendo().Menu()
.Name("Menu")
.Items(items =>
{
items.Add()
.Text("About")
.Action("About", "Home");
items.Add()
.Text("Customers")
.Action("Index", "Customers");
}))
</
div
>
<
partial
name
=
"_LoginPartial"
/>
</
div
>
<
button
id
=
"configure"
class
=
"k-rpanel-toggle k-button k-primary btn-toggle"
><
span
class
=
"k-icon k-i-hbars"
></
span
></
button
>
</
div
>