Home Unanswered Active Tags New Question

How to add dynamic MenuItems?

I want to add menu items based on specific sql query, using a loop.
I've try this as example:
MenuItem mi;
mi.Value = "google";
mi.NavigateUrl = "www.google.com";
this.MenuPilotHyperlink1.MenuItems.Add(mi);

But it didnt work.
Your help will be much appreciated
Thank you

Asked by Feras 3 years ago.
Replies
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java