I'm wondering if it's possible to have parameters with MenuItems in a Custom Section
I have this where I would like to make the id available in my Angular's RouteParam
protected override MenuItemCollection GetMenuForNode(string id, System.Net.Http.Formatting.FormDataCollection queryStrings)
{
var menu = new MenuItemCollection();
var nodes = GetTreeNodes(id, queryStrings);
int i = 0;
if (Int32.TryParse(id, out i))
{
if (i > 9)
{
var m = new MenuItem("createMatch", "Create match");
m.Icon = "enter";
menu.Items.Add(m);
}
}
Custom section - parameters in menu items ?
Hi
I'm wondering if it's possible to have parameters with MenuItems in a Custom Section
I have this where I would like to make the id available in my Angular's RouteParam
Is it possible in any way ?
/Paul s
is working on a reply...