iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I want to disable/enable certain webmenu items on the webmenbar on my webdesktop.
How can I loop thru the menus?
Hello,
If that it's the case, you will handle reading your own database. I only can guide you how to loop and enable/disable the available menu from server side. Hope this helps.
Regards,Handy
Hi Mark,
You can use method Disable() or Enable to disable/enable a menu item on WebMenuBar. Attached is my simple sample about how to use it.
Handy,
Thank you for your prompt response.
I need to loop thru the menu structure from the server side as the page loads.
I am using Visual Basic with my ASP.NET project.
I have an SQL table that contains the name of the menu and if that item is enabled/disable.
I want to loop thru the menus as the page loads and disable/enable that item according to its value in my SQL table.
Thank you
Thank you for the example Handy.
How could you do this without knowing exactly how many subitems are in a menu?
I managed to do it by using a recursive subroutine but was interested to know if you had anything similar.
Regards,
Mark
Actually, we don’t know exactly how many subitem are in a menu either.The way to use recursive subroutine is likely a good idea to do so.
If Handy's post has suit to your scenario, please mark/set it as answer
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname