How add menu items on WebToolbar?

How can I add items to a WebToolbar -> WebToolbarMenu -> Item?
I want to make a menu like desktop version visually.

Something like this in the Open event would do it:

dim mSupport as new WebMenuItem mSupport.Append new WebMenuItem("Support Option") WebToolbarMenu(me.ItemWithName("MenuSupport")).Menu = mSupport

I have to put this code on open event of the page, or control?

Either will work. If you do the Open event of the Page then you have to change “me” to “WebControl1” or whatever you named it. But for easy questions like this, it’s sometime just best to try it yourself. In order to be successful you’ll need to challenge yourself and experiment.