Click here to Skip to main content
15,881,172 members
Everything / Menu

Menu

menu

Great Reads

by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
by Michael D Bray
Use the provided CSS with classed DIVs to build a clean-looking web-based menu that requires no JavaScript, and supports unlimited levels of both horizontal and vertical menus.
by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
by Steffen Ploetz
The Win32++ class library sample collection does not contain a sample, that creates the frame menu via API instead of via resources. Here is the missing part.

Latest Articles

by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
by ToughDev
How to install Microsoft Web Deploy on Win7
by ToughDev
How to fix ‘Search fields undefined’ error when generating source code for a Scriptcase gridview
by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.

All Articles

Sort by Score

Menu 

5 Jan 2023 by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
22 Jan 2016 by Michael D Bray
Use the provided CSS with classed DIVs to build a clean-looking web-based menu that requires no JavaScript, and supports unlimited levels of both horizontal and vertical menus.
28 Jun 2023 by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
15 Sep 2014 by Sergey Alexandrovich Kryukov
First of all, interactive UI based on console-only application is a big overkill, to be practical. Nearly all practical, or good, console-only applications don't use interactive user input. Instead, they expect all input in one command line. If command line is too big, such option as the name of...
23 Jan 2020 by Steffen Ploetz
The Win32++ class library sample collection does not contain a sample, that creates the frame menu via API instead of via resources. Here is the missing part.
28 May 2011 by Wonde Tadesse
You can put a link that will navigate to your file. i.e My exeYou done.But, to execute some method from your web application, you should expose the method as Web Services[^] or WCF[^]. After you do these, it will be quite easy to consume the exe method.Cheers.
26 Jan 2013 by Thomas Daniels
Hi,Have a look here:ASP.NET Horizontal Menu Control[^]Horizontal Submenu with Horizontal Menu using CSS Friendly Menu Control Adapter in C#[^]
26 Feb 2014 by ASP.NET Community
Asp Menu controls lacks to render its items which are set with dynamic visibility in Internet Explorer 8. Microsoft has also confirmed at Microsoft
29 Apr 2010 by #realJSOP
My experience is that users don't like it when controls (or menu items) appear and disappear while they're using the program. At the very most, they are just barely comfortable with items being disabled, but when things start disappearing/reappearing, they freak out. I'd rethink my interface if...
13 May 2012 by Rahul Rajat Singh
So What i understood is that you need your user control to have the attributes that you can set from aspx markup.If you define public properties in your user control then use can use it like attributes from you pages' asp.net markup. Tell me If my understanding is not correct.
22 Oct 2013 by bjdestiny
Exactly before solution i would like to suggest you that please place your code so we could judge your exact problem.further you just try this in your css settings ul li{display:inline; /| text-align:right; /| float:left;}still if you are facing same problem then you need to post your code.
25 Oct 2013 by Ron Beyer
It is probably missing a this.Controls.Add(this.Main); somewhere. Make sure that the menu is being added to the controls or components collection on the form (I'm pretty sure it goes in the Components collection). Edit: It is the Controls collection (thanks Bill).
31 Oct 2013 by Zoltán Zörgő
As I see, you are really at the beginning. MVC is not WebForms. I suggest you start a tutorial. The official ones are really good: http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4[^]. I also suggest you simply open the template in Visual Studio and...
4 Apr 2014 by Peter Leow
Refer:Creating_Menu_Based_on_Role[^]
15 May 2010 by Pete O'Hanlon
Nope. No idea. Zip. Nada.I tried the mystic filter, and gazing at my crystal balls but I can't figure out which technology/language you are asking this about. Without this, admittedly easily overlooked, information we can't help you.
15 May 2010 by Abhinav S
jalele wrote:How can i use tab control like menu bar?Tab control and menu bars (in most technologies) are different controls and should not be use as one another. Pick and choose between the two (based on your requirements).
31 Aug 2010 by Ankur\m/
You need to analyze the styles of the element.Download FireBug for Mozilla Firefox. It's an Firefox add-on which helps you analyze the styles, script (and so much more) of a page.Alternatively, if you have IE8, you can use Web-Developer tool to do the same. Press F12 to activate it.Hope...
16 Sep 2010 by #realJSOP
You have to paint the control yourself. And why on earth would you want to NOT use the frameworks available to you?
29 Sep 2010 by William Jordan
Take a look at this codeplex project:http://syrinxmenu.codeplex.com/[^]Demo Herehttp://menu.syrinx.ph[^]
18 May 2011 by Programm3r
Hi new guy,Please have a look at the following post: Building a Database Driven Hierarchical Menu using ASP.NET 2.0[^]Kind regards,
12 Aug 2011 by thatraja
You can do that by using javascript. Just show/hide DIV based on mouse events, that's all.DIV Popup for the OnmouseOver Event[^]
21 Oct 2011 by Ray Radin
You can handle WM_NCPAINT and paint the frame yourself.
13 Dec 2011 by Al Moje
Hi,See this sampleIn your site.master client page: My Industrial Corporation ...
15 Jan 2012 by opcoder123
Sorry for wasting your time.the problem was anchor property of menu strip item. I set it to top,left,bottom,right and my problem is solved.
15 Jan 2012 by Sergey Alexandrovich Kryukov
The problem is in IsCheckable="true". Remove this attribute if you need child items. A menu item can ether act as a ItemsConrol with visible children or checkable, not both at the same time. If you think about it you will see that doing both things makes no sense.—SA
6 Feb 2012 by Abhinav S
Tryif (mnuItems.ChildItems.Count >0) Then mnuItems.ChildItems.Remove(mnuItems.ChildItems(0)
18 Apr 2012 by Maciej Los
I wrote for you a simple class to add and removes tabs (with forms). The solution is not perfect... You need to remember: this is an example!Steps to achieve a solution:1) We need an interface[^]Public Interface IFormsInTabs Function AddTab(ByVal frm As Windows.Forms.Form) As...
15 May 2012 by Greysontyrus
You need to add the following to your enclosing class: [ParseChildren(false)] [PersistChildren(true)] public partial class ContextMenu : UserControl {...}That will allow you to add items between the opening and closing tags of your UserControl. I have also included...
3 Jul 2012 by DamithSL
You are try to inherit TrayMenuClass from MenuStriptry ContextMenuStrip or ToolStripDropDownMenu instead of MenuStrippublic class TrayMenuClass : ContextMenuStrip and try to cast it and assign this.notifyIcon1.ContextMenuStrip = (ContextMenuStrip)this.contextMenuStrip1;
22 Jul 2012 by woutercx
This would do the job I think:https://dotnetfinder.wordpress.com/2010/09/14/aspsooperfishmenu/[^]You would have to adapt it a little, but it would work.
17 Sep 2012 by Bojin Li
Integrating jQuery Context Menu Plugin with Bing Maps AJAX Control V7
27 Dec 2012 by OriginalGriff
Try: int 19hHowever, it will probably not work in any operating system past DOS - even Win95 did it's best to prevent it working!
22 Jan 2013 by Yaseer Arafat
The tag has two childtags - the ContentTemplate and the Triggers tags. The ContentTemplate tag is required, since it holds the content of the panel. The content can be anything that you would normally put on your page, from literal text to web controls. The Triggers tag allows...
30 Jan 2013 by Anurag Sarkar
I am trying it please check and tell that if its work or not.Its working for me.The Java Script Code is between the tag.Put This code is the Aspx page.
4 Mar 2013 by Adam R Harris
look at CINT[^]. Then use that in your loop definition i.e. for i as integer = 0 to CINT(myDropDown.SelectedValue) .... your code here .... next imy VB is rusty so this probably wont compile but you should be able to get the point.
26 Mar 2013 by satz_770
You can do it in JQuery.. $("a.shortcut-dashboard").on("click",function(){ if(!$("a.shortcut-dashboard").parent().hasClass("current")) $("a.shortcut-dashboard").parent().addClass("current");});write this inside $(document).ready(function () {if this doesn't solve, reply...
28 Apr 2013 by Zoltán Zörgő
The simplest way is to make the control public (far not the best practice however). See: http://msdn.microsoft.com/en-us/library/ms233630.aspx[^], and this image to find the property: http://brwiki.brulescorp.com/images/e/e7/CalendarProperties.JPG[^].The best approach however is to add some...
13 Jun 2013 by CPallini
I would:Parse the file (it is simple, read a line at time and use String.Split to retrieve its different field values).Then either:Store the parsed info inside a database and use such database for searching, etc...orMaintain such data in main memory (if feasible) and perform the...
17 Jun 2013 by OriginalGriff
Without knowing what you are trying to do, and what the errors you can see are, we can't help that much!But...there are a few bits that spring out as being a bit weak:Do Console.WriteLine("Please choose the program you would like to select") MenuOption = Console.ReadLine If...
16 Oct 2013 by Maximilien
Is it possible to get the rectangle of a contextual menu?I'd like to be able to have the contextual menu always be inside the Window (CWnd) it is called from.For example, if the X position is "near" the right size of the CWnd, then the contextual menu should should be called with the...
25 Oct 2013 by BillWoodruff
Sometimes a WinForms app gets corrupted, and you can't get the design-time view of a Form, or UserControl, to appear correctly, but you do, as you show here, have what looks like a valid Designer.cs file, and valid code-behind pages.I've found this strategy useful:1. immediately make a...
25 Oct 2013 by Sergey Alexandrovich Kryukov
Some addition to the advice by Bill (Solution 2).Instead of back-up, it should be a use of some Revision Control System, committing in small steps, to be able to trace back back by any number of steps. These days, not using Revision Control System is a crime against yourself.Please...
21 Jan 2014 by RhishikeshLathe
Use Margin property of each menustrip item, to adjust them as your wish.For example//moves first menustrip item to right side menuStrip1.Items[0].Margin = new Padding(100, 0, 0, 0); //moves second menustrip item to left side menuStrip1.Items[0].Margin...
16 Oct 2014 by Saqib Mobeen
You need to make the below mentioned changes in your css.1st: change the width in percentage(%) for each .navbar li { height: auto; width: 15%; /* Each menu item is 150px wide */ float: left; /* This lines up the menu items horizontally */ ...
10 Dec 2014 by amin khoshzahmat
you forget a single quotation in your css#menu:hover > #share{height:33px;width:33px;background-image: url('../iconsimg/sharee.png); //
18 Feb 2015 by Ravi Bhavnani
You may want to use a ComboBox with autcomplete.  See this[^] MSDN reference./ravi
3 Apr 2015 by Peter Leow
Put the select code blocks inside the form, so that it can be submitted. PHP Forms[^]
22 Mar 2016 by Jochen Arndt
Usinggcc -Wall -c menu.cthe error shown in your question does not occur. But there are some other errors and warnings. Most of them can be avoided by including additional header files:# include # include # include # include # include...
2 Jan 2018 by OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send. So now...
21 Nov 2018 by Yaseer Mumtaz
Complete professional MEAN stack app development series for beginners
23 Jun 2022 by Alaren
Aha, found it, the menu needed to have the postition:relative added to make the z-index work.
7 May 2023 by ToughDev
How to install Microsoft Web Deploy on Win7
26 Nov 2009 by Chidambaram Narayanan
Hi,I have a menu control in the master page.This is dynamically populated at runtime from the database.I require a breadcrum on top of the masterpage.I'm facing a lot of difficulties in trying to generate a dynamic site map(I'm following the approach mentioned here (http://www.codeproject.co
27 Nov 2009 by Oakman
http://www.microsystools.com/products/sitemap-generator/
25 Dec 2009 by Christian Graus
Your menu is not inside your update panel. I believe that means it won't be updated in the AJAX call. The fact that it shows the previous item means that it's rendering, THEN updating the state, instead of vice versa.
7 Jan 2010 by Betty Jane Winona Brianna Mariah Woolworth
Tried to make cascading dynamic popup menus in MFC.Impossible.Mind you, there is a dynamic menu example on MSDN. But all that does is dynamically deleting given menu items from a menu. What if you want a cascading hierarchy of popup menus depending on your (tree-structured) data, not...
9 Jan 2010 by «_Superman_»
For the popup menu that you create dynamically, try CreatePopupMenu instead of CreateMenu.
10 Feb 2010 by Xihadd
Hi,I'm still a student (4th year univ) and I've worked alot with C# but only recently came to know the possibilities of WPF. I've been using WPF for the last month or so now. My interest in WPF is that for developing Applications which can be used on touch screens.My idea for what I'm...
14 Mar 2010 by ntrraorao
HiI have used
14 Mar 2010 by ntrraorao
HiI fixed myself. I have attached onclick event in Jquery. So that it fires multiple events.Thanks
22 Apr 2010 by Hemant Malav
HiI am having a problem using Google language translate API. There is a drop down menu (asp.net menu control) in my website which is working fine when I select english language(original language) in google translate box. But when I change the language, drop down menu does not appear....
23 Apr 2010 by Sandeep Mewara
I just had a look at your site: http://www.thepalacemaker.com/[^]To me it is working fine, changed into few languages. I can see the dropdown all the time. Where is it hosted right now - IIS6 or IIS7?
29 Apr 2010 by Neil scsn
Sorry.. My mistake.. I have 3 various menus in which I want to select during compiling application by passing a flag to the compiler, then the required menu will always be the main menu.Neil
15 May 2010 by jalele
How can i use tab control like menu bar?
26 May 2010 by TheDevelopper
Hello ! :D I am developping a web browser , i have made a associated a context menu to my web browser , let's call it WebMenu , i have made all function (e.g select all , copy , paste , etc...) but i don't know how to make save image function to work . For better description , have you see...
26 May 2010 by Sandeep Mewara
TheDevelopper wrote:he "Save Picture As..." command ? If you would had noticed, the 'Save Picture As' appears in IE only when right clicked on a picture. So, you need to have custom context menus based on where you click on the form. Lets say you click it on an image, then you can get...
2 Jun 2010 by dhage.prashant01
i want to create javascript menus, but i'm not able to how to start.i'm new to asp.netmenus are as follows:1. Entry-->Product Entry -->Customer Entry -->RM Entry -->Transaction Entry2. View-->Transaction View3. Report-->Transaction Report4. Deletenow...
3 Jun 2010 by #realJSOP
I use this one:http://www.youngpup.net/projects/transmenus/[^]I may write an article about how to get it into a .Net web site this weekend. Until then, you can see my implementation in action if you go here:http://75.11.0.157/homenet/default.aspx[^]I modified the original code a...
3 Jun 2010 by Pete O'Hanlon
For simplicity in this case, I'd use a web.sitemap file to lay out the entries in the format you want (along with any permissions you need to control access). Then, I'd use the ASP.NET menu control and apply the CSS Control Adapter[^] to convert the table based layout into a much more friendly...
3 Jun 2010 by dhage.prashant01
wt is CSS Control Adapter??can u give me link for reference
3 Jun 2010 by dvt123
I want to make a popup window like this in a SDI application. If I click the toolbar button, a window will show but don't influence the main window's focusI try setting style to Child and set its parent to MainFrame Window but it only show the part in MainFrame area (a small part in the...
20 Jun 2010 by dvt123
Can anyone give me an answer ? Thanks very much
23 Aug 2010 by Johan Boekhoven
Hi,I would like to know if it's possible to make an entry in the startmenu, near "my computer" where it shows my company name and then a dynamic list of important folders.start menu > myMenu > myDynamic entry 1 > myDynamic entry 2I'm using Winforms and would like...
23 Aug 2010 by Christian Graus
If your code is running as part of windows, you'd need to look into shell extensions, written in C++, I expect, to try to do it. I doubt, however, that you can add items there.
31 Aug 2010 by ahawari09
When I change the colors and font size in the style sheet, it does not reflect on the design when I run the web test, despite that I have linked the style sheet after the head. Can you please help? Thanks.
16 Sep 2010 by weylspinor
I am using CheckMenuRadioItem to control the selection of a menu item. The app I'm writing is a Win32 project. I'm trying not to use ATL or MFC. The reason for this is because I'm trying to keep my code as simple as possible. Anyway, the problem I am having is that when I use this...
29 Sep 2010 by Mohammad Dayyan
Some days ago I saw this page :http://demo.rockettheme.com/?template=zephyr[^]Are there any Controls in ASP.NET like the Menus in above template ?
5 Oct 2010 by patelKhyati
I am using menu navigation control. How can I set the height and width of the sub menu which hovers down when we hover over any menu item. I am not able to find its property.
5 Oct 2010 by Pavel Yermalovich
Try to use StaticHoverStyle and DynamicHoverStyle property.
4 Nov 2010 by Türkalp KUCUR
Hello there...For my web site, I want to have a main menu just same as in the following site:http://www.prometheanworld.com/server.php?show=nav.16034could you help? thanks..
4 Nov 2010 by fjdiewornncalwe
Here are links to 3 searches for different ways of achieving this.Lots of JQuery OptionsMore Javascript optionsCSS Versions
4 Nov 2010 by Ankur\m/
That's an asp.net Menu Control with CSS to style it.Search!
4 Nov 2010 by Türkalp KUCUR
I think I achieved what I am looking for :http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/thanksç
4 Nov 2010 by Henry Minute
I doubt very much that people will follow a link from someone they really don't know. If the code is yours you should be able to work this out for yourself. If you have copied the code from somewhere then you would be better served if you ask your question at the site you got the code from.
8 Dec 2010 by alejandr04321
I have a simple question, How can I customize a Menu Strip on C#? VS gives you some customize options, but not too many. I would like to change the menu border color, and the color of the selected item in the menu. I leave you here an example. I would like to do this in c#, but this is...
8 Dec 2010 by #realJSOP
First (and you may have noticed already), you can't post images in Q/A. Second, take the code in the cited article, and convert it to C#. There are plenty of free online converters available - google is your friend. You might even learn something in the process.
8 Dec 2010 by chip.hyt.chip
come here to convert VB--> C#:http://c.thuvienit.com/vb-to-csharp.aspx
23 Feb 2011 by fgfdhghgfd
hi all, i have created xml file with root tag menu and subtags menuitem and submenuitem i.e All is working fine my question is submenu not displayed in IE8 and...
23 Feb 2011 by Ramalinga Koushik
Hope this[^] might help you.
28 Mar 2011 by TanzeelurRehman
Dears,Can some one guide about asp.net menu, that how to display: dynamicpopimage of asp.net menu near to the text of static menu, it is being displayed in right most corner of the menu.i-e About Us                   >|Contact us|  I wan to show it look like this:About Us >    ...
2 May 2011 by mcarmonar83
Hey man, this article includes the DLL's of the solution, add them as a reference in your project and add them too in Visual Studio's ToolBox (Control Box), them add the control, add a menu strip and the appearance control and select a Preset or customize color, then in the control in the...
8 Jun 2011 by Alan Balkany
The first step is to distinguish the case where your handler isn't being called from the case where the dialog box is malfunctioning.You can put a breakpoint in the handler and see if it's hit, or put an AfxMessageBox () in there.
8 Jun 2011 by ubaidh sayed
Hello Everyone,I am using Dot Net Nuke community version to build my web site. I am very new to programming and DNN.When i add a new page the menu is displayed horizontal like HOME | CONTACT US | ABOUT US | CAREERSI want to display it as a vertical menu likeHOME CONTACT USABOUT...
8 Jun 2011 by Ramalinga Koushik
If you are using the DotNetNuke menu, set the "display" attribute to "vertical." You will do this in the skin's manifest file if you are using HTM skins, or you can do it in the menu control if you are using ascx skins.
9 Jun 2011 by Narinearraul
Ok it actually worked, I just had to associate it with the right .cpp file which in this case was my doc, so the same code i posted about worked.Thanks for the help guys!
14 Jun 2011 by Ed Nutting
I have solved this one myself recently but it depends very much on your situation. I will give you the following pointers:1) No JavaScript is requiredEdit: Having had a look at demo, the fading requires javascript, the basic concept of a vertical menu that displays items below it does not...
4 Aug 2011 by Un_NaMeD
Hey everyone.I have a little problem here. Let me explain.What I want to do is to get a decimal number(0 to 9) from user and do the work according to the number. After operation, The program should ask again what to do to user in an infinite manner.I know this is an easy thing to do,...
12 Aug 2011 by rajesh-jeshra
Is there any code to open a page on Menu mouseover. DEMO in www.codeproject.com website's menu. Articles -> Chapter and Selections -> Opens a sitemap page.
13 Aug 2011 by Sergey Alexandrovich Kryukov
Sure you could do it, but please listen to a big warning: that can drive many users crazy. I would not use again the site with such unexpected, impractical and annoying behavior. Don't do it.—SA
17 Aug 2011 by liz9677
HiI'm new to posting on this site, but have found it quite useful for finding information. I have a problem however, and am not able to find a solution anywhere. i have a masterpage with a navigation menu. The menu items open different pages, and i am able to highlight the selected menu...