.NET ASCX/User Controls issue

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
ClayA
Beginner
Beginner
Posts: 1
Joined: Thu Mar 11, 2004 6:17 pm

.NET ASCX/User Controls issue

Post by ClayA »

One of our clients has Version 3.5.15 of the Milonic menu. My problem seems to be with the z-index property. On the example web page here:
http://4.37.65.175/ots/repLegislationByCouncillor.aspx you'll notice that the dropdown menus appear underneath the HTML form controls. This ASPX page (repLegislationByCouncillor.aspx) incorporates two User Controls (ASCX files). One is "header.ascx" which contains the top area with the menu and the second is "footer.ascx" which contains the footer at the bottom. Now, if I create a single page (not using User Controls/ASCX files) then the dropdown menus overlay the HTML form controls just fine. So, the problem seems to be related to User Controls being used.

Any ideas?

Thanks,
Clay Angelly
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

There's an option about hiding divs in the addmenu section. Since you have it in the page, not sure how that would work because it seems to come after the table where the form element is, but if you check the menu_array.js file you'll see this section

Code: Select all

addmenu(menu=[ // This is the array that contains your menu properties and details 
, // Menu Name - This is needed in order for the menu to be called 
, // Menu Top - The Top position of the menu in pixels
and so on down to 
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
So perhaps there's a way to set that form element part into a div? I'm not really sure since I don't use forms or divs. Since this site does not use frames, I'd personally suggest that your client move up to version 5 which has so many more features and options.

Ruth
Post Reply