Welcome Guest Search | Active Topics | Sign In | Register

Slide Menu - Nesting Multiple Controls Options
Mike McDonald
Posted: Friday, June 1, 2007 4:07:32 PM
Rank: Newbie
Groups: Member

Joined: 6/1/2007
Posts: 1
With the Slide Menu, is it possible to nest multiple controls?

I'd like to be able to have a slide menu that has a top section containing a single treeview, a middle section containing 3 to 4 input controls (textbox, datepicker, button), and a final section containing multiple textboxes, dropdownlists, checkboxes, and buttons.

Feasible?
eo_support
Posted: Friday, June 1, 2007 4:21:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
yes. It is possible. You will need to use the CustomItem control. CustomItem is a container control that works pretty much like the standard Panel control --- you can drop other controls onto it.

You will need to:

1. Drop a slide menu on the form, create the slide menu as usual and then create a "place holder" item for your "top section" where you intend to put other controls. The text of the place holder item is not important;

2. Drop a CustomItem control on the form, put your input, textbox, datepicker, button, etc, inside that CustomItem;

3. Set the place holder menu item's CustomItemID to the ID of the CustomItem control you added in step 2;

Run the code and you will see the place holder item is being replaced with the content of the CustomItem control.

Please feel free to let us know if you have any more questions.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.