Sorry, we're closed.

PeterBlum.com was active from 2002 - 2013, when ASP.NET Web Forms were all the rage.

Thanks for your patronage!

Feel free to browse this preserved snapshot of the products, demos, and documentation from those days. Then hop over to github.com/plblum to see what Peter's been working on lately.

Home     About PeterBlum.com     Policies     Download a Licensed Product     Newsletter
Peter's Interactive Pages
DropDownMenu Control

The DropDownMenu uses the Context menu to give a dropdown menu from a toggle button. The toggle button can use a graphic or text. When clicked, the ContextMenu appears.

Demo

The first menu shows 3 items. It uses PopupOnMouseOver to allow you to point to the toggle without clicking to display the menu.
The second menu shows a different toggle button type.
Show menu
 | 

ASP.NET Syntax for this demo

<des:DropDownMenu ID="DropDownMenu1" runat="server" PopupOnMouseOver="True">
   <Menu>
      <des:CommandMenuItem CommandID="10" CommandLabel="Say hello, Ollie"
         OnClickScript="alert('Hello Ollie!');" />
      <des:SeparatorMenuItem/>
      <des:CommandMenuItem CommandID="20" CommandLabel="Google"
         NavigateUrl="http://www.google.com" />
   </Menu>
</des:DropDownMenu>
&nbsp;|&nbsp;
<des:DropDownMenu ID="DropDownMenu2" runat="server" ToggleType="Button" ToggleText="Menu2">
   <Menu>
      <des:CommandMenuItem ConfirmMessage="Do you want to save?" 
         CommandID="103" CommandLabel="Submit the page" PostBack="True" />
      <des:HintMenuItem Hint="This is a hint MenuItem" />
   </Menu>
</des:DropDownMenu>