Forum  General Visual ...  How do I...?  Toolbar with dropdown
Previous Previous
 
Next Next
New Post 11/5/2007 5:46 AM
  djgtram
4 posts
No Ranking


Toolbar with dropdown 
Hello,

is there a way to make a dropdown toolbar button work? In designer view, the small arrow is there but with the menu duly added, nothing happens when the application is run, I get a plain button in the toolbar.

Thanks,
Gábor
 
New Post 11/5/2007 6:34 AM
  tamir.zaslavsky
57 posts
No Ranking


Re: Toolbar with dropdown 
Hi Gábor.
I'm not sure I understand your question, but If you're asking how to create toolbar with drop down menu:
1.    Add context menu to your form and add it some menu items. You can add the menu items in the designer.
2.    Add ToolBar to your form.
3.    Add a button to your ToolBar. you can Add it through the toolbar properties window  (Buttons) property.
4.    Set the DropDownMenu of the new Button to the context menu you created earlier.
If this isn't answering your question, please say so…
Regards,
Tamir
 
New Post 11/5/2007 2:06 PM
  djgtram
4 posts
No Ranking


Re: Toolbar with dropdown 
The problem is with step 5, running the application. I do the previous 4 steps exactly as you describe, and then, when I start the application in the emulator in VS (I haven't yet had the chance to try it on a real web server), I don't get a dropdown button with the arrow and the menu appearing below when clicked, just a plain vanilla toolbar button that I can click on to fire an event.

Bye,
Gábor
 
New Post 11/5/2007 7:50 PM
  Guy
2346 posts
1st Level Poster




Re: Toolbar with dropdown 
Hi Gabor,

With in the catalog sample code there is a toolbar utilizing this feature, try to see if you see any difference in usage.

Cheers,
Guy
 
New Post 11/6/2007 11:37 AM
  djgtram
4 posts
No Ranking


Re: Toolbar with dropdown 
Well, I don't know. I have just downloaded the latest stable release and the Catalog. I can compile the Catalog, albeit with 14 warnings. The initial web page is not set in the properties, I have to do that manually. Then I seemingly get the Catalog in IE but I'm stuck in Controls > ListView, nothing else works. When I click on anything, nothing at all happens. Something is definitely fishy around here...

Bye,
Gábor
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Toolbar with dropdown
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