Forum  General Visual ...  Let's Chat Abou...  Editing Main Menu Events
Previous Previous
 
Next Next
New Post 1/9/2012 9:50 AM
Unresolved
  rufex2001
8 posts
No Ranking


Editing Main Menu Events 
Modified By rufex2001  on 1/9/2012 4:08:37 PM)

Hi,

I have a classic main menu at the top of my application. Each menuitem is highlighted when the mouse hovers over it. I did not write this, but am now developing for it. The problem is that when the mouse hovers outside of the menuitem area in direction to the top of the screen, the menuitem remains highlighted. Now, is this a bug or is there something I am missing here? 

Can I edit this somehow? No handlers are visible when I see the event list for each item. Same with the mainmenu.

Also, I'd love to be able to edit the menu events, because I'd like to have the menu items pop up upon a click ONLY if the item is not already displayed. If it already is, then I'd like the click to hide it again.

Any ideas?

Thanks in advance!

 
New Post 1/9/2012 1:45 PM
  palli
11824 posts
1st Level Poster




Re: Editing Main Menu Events 

Hi Rufex,

The classic MainMenu control is based on Microsoft .NET's 2.0 control and has similar limitations. In order to change this behaviour, you would have to customize the behaviour using either a custom Theme override, or build a custom Control that would change the behaviour. In both cases, you will probably have to dig quite deep into XSLT, Html and JavaScript in order to change the behaviour.

Before you do that, make sure you take a look at the successor MenuStrip control(s) which are implemented in the most recent versions of Visual WebGui and see if their behaviour is more like what you are looking for. If they are, I would advice you to switch to using those controls, rather than spending time customizing the MainMenu control.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 1/10/2012 5:03 AM
  rufex2001
8 posts
No Ranking


Re: Editing Main Menu Events 

Thanks, Palli! I'll look into the MenuStrip option!

 
New Post 1/10/2012 12:05 PM
  palli
11824 posts
1st Level Poster




Re: Editing Main Menu Events 

Hi Rufex,

You are welcome,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 1/31/2012 5:57 AM
  gharnach
8 posts
No Ranking


Re: Editing Main Menu Events 

Where can we find the menustrip option? I have winweb 6.4 with a license for VS2010. I don't see any control for it in the toolbox. Can you help?

thanks,

Greg

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Editing Main Menu Events
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS