Free 6 months hosting on Discount ASP
 
  Forum  General Visual ...  How do I...?  MainMenu Problems
Previous Previous
 
Next Next
New Post 4/12/2009 9:58 PM
Resolved
  osmosis311
312 posts
3rd Level Poster


MainMenu Problems 

Hi,

I'm currently working with 6.3.6, Visual Web Developer Express 2008, and Windows Server 2003.

I know there are currently some pending issues with the designer...whenever I switch from my code to my form, the form loads, then refreshes itself, and the property grid goes blank.  I have to close the form and re-open it to get the properties back.  No big issue here, it's workable.

Tonight, I added a MainMenu to my form, and spent about 20 minutes adding and customizing menu items.  The property grid of the form was present and working.  I saved my form, and ran it.  I couldn't figure out why none of the menu items were showing up.  So I closed the browser and went back to the designer- all the sub-menu items were gone.  The top row (main) menu items were still there, but all their children were gone.  But I could still see all of them in the controls listing.  And I went into the designer code, and I could still see all of the code for all of the sub-menu items.  Somehow, they had become disconnected from their parents (the addrange lines were gone).

So I deleted all of the child menu items from the designer code, and the top-level items, and the main menu declaration.

I added a new mainmenu to the form, with one child menu.  I can see the child menu's text in the designer, however, when i run the form, only the parent's text shows up.  When I click on the menu, it drops down, but the child menu's text does not show up.

Does the MainMenu have some unresolved issues that are pending for 6.4?  I have never used the MainMenu before in my code and I was really looking forward to it., but I'm scared of having to deal with a situation where I have to edit the designer code myself again.

Any insights?

 

Thanks!

-Danny

 
New Post 4/13/2009 1:29 AM
  jayhobbs
1351 posts
1st Level Poster




Re: MainMenu Problems 

Hi Danny,

Did you set the Menu property of your form to your Main Menu?

You should also check the designer file to make sure it hasnt added two main menu's

I hope this helps

Jay

 
New Post 4/13/2009 6:26 AM
  osmosis311
312 posts
3rd Level Poster


Re: MainMenu Problems 

 Hi Jay,

Yup.  I set the Form's Menu property to the MainMenu I created.  And it showed up at runtime.  The top-level menu items were all visible, and I could click on them, but nothing dropped down (no sub-menus) and when I went back to the form designer, all the children were gone, and in the designer file, they were all there, just the lines attaching them to the top-level menus had disappeared.

Checked the designer file, only one MainMenu was there...

Thanks!

-Danny

 
New Post 4/13/2009 4:22 PM
  palli
6087 posts
1st Level Poster




Re: MainMenu Problems 

Hi Danny,

First regarding your empty property grid problem, it has been reported, but I just couldn't find it right now.

Regarding your menu problem, the MainMenu control has had some problems in the past, but most of them should have been fixed.

Is it any way that you can write down a reproducable sequence of events on a new or simple form that we can follow and will reproduce this problem  (preferablly)  every time we do the same ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 4/13/2009 4:28 PM
  palli
6087 posts
1st Level Poster




Re: MainMenu Problems 

Hi again Danny,

I found the issue about the empty property grid problem here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  MainMenu Problems
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners