Welcome Guest Search | Active Topics | Sign In | Register

menu in master pages disappering... Options
Y.W. GALIL ENGINEERING
Posted: Tuesday, September 16, 2008 4:34:15 AM
Rank: Newbie
Groups: Member

Joined: 3/19/2008
Posts: 8
hey to ya all,
installed the suite and started working with new ones.
have a problem with the menu when using it in a master page:
it doesn't shows him at all...
WTF is causing this???
in 2007 worked with the menu in master pages without any prob's...
eo_support
Posted: Tuesday, September 16, 2008 6:53:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi,

Please watch your language.

As for the menu problem, please post the page online and we will be happy to take a look.

Thanks
Y.W. GALIL ENGINEERING
Posted: Sunday, September 21, 2008 5:26:13 AM
Rank: Newbie
Groups: Member

Joined: 3/19/2008
Posts: 8
sorry for being rude, just this prob was freakin me out...
it's seems like a License prob tho, tryed to start a new project built several forms...
till i add the " EO.Web.Runtime.AddLicense( .... );" command all worked fine in debug or on the test server we have.
Y.W. GALIL ENGINEERING
Posted: Sunday, December 14, 2008 11:45:06 PM
Rank: Newbie
Groups: Member

Joined: 3/19/2008
Posts: 8
The page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind ="frmEng.aspx.cs" Inherits="SIC.web.frmEng" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="Form1" runat="server">
<table cellSpacing="0" cellPadding="1" width="742" align="center" border="0">
<tr>
<td style="height: 22px">
<table cellSpacing="0" cellPadding="1" width="742" align="center" border="0">
<tr>
<td align="center" height="104" rowspan="" valign="middle"
width="742">
<asp:Image ID="Image1" runat="server" ImageUrl="Images/mainBan.jpg" />
</td>
</tr>
<tr align="center">
<td colSpan="2">
<eo:Menu ID="Menu1" runat="server" ControlSkinID="None" Width="200px">
<LookItems>
<eo:MenuItem Image-HoverUrl="00000306" Image-Mode="TextBackground"
Image-Url="00000300" ItemID="_TopLevelItem" LeftIcon-HoverUrl="00000304"
LeftIcon-Url="00000300" RightIcon-HoverUrl="00000305" RightIcon-Url="00000300">
<SubMenu OffsetX="0" OffsetY="-6" ShadowDepth="0"
Style-CssText="font-size: 12px; cursor: hand; font-family: arial; background-color: #f7f7f7;">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="23"
HoverStyle-CssText="background-color:#dddddd;border-left-color:#dfdfdf;border-left-style:solid;border-left-width:1px;border-right-color:#dfdfdf;border-right-style:solid;border-right-width:1px;color:#C00000;"
ItemID="_Default"
NormalStyle-CssText="border-right: #dfdfdf 1px solid; border-left: #dfdfdf 1px solid; color: #333333"
Text-Padding-Left="7" Text-Padding-Right="20">
</eo:MenuItem>
<eo:MenuItem Image-Mode="TextBackground" Image-Url="00000314"
ItemID="separator" LeftIcon-Url="00000313" RightIcon-Url="00000315">
</eo:MenuItem>
<eo:MenuItem Image-Mode="TextBackground" Image-Url="00000312"
ItemID="submenu_bottom" LeftIcon-Url="00000310" RightIcon-Url="00000311">
</eo:MenuItem>
<eo:MenuItem Image-Mode="TextBackground" Image-Url="00000307"
ItemID="submenu_top" LeftIcon-Url="00000308" RightIcon-Url="00000309">
</eo:MenuItem>
</LookItems>
<TopGroup ItemSpacing="1"
Style-CssText="border-left-width: 1px; font-size: 12px; border-left-color: #e0e0e0; background-image: url(00000300); padding-bottom: 0px; cursor: hand; color: #555555; padding-top: 0px; font-family: arial">
<Items>
<eo:MenuItem Image-Url="00000301" LookID="None" Text-Html="(">
</eo:MenuItem>
<eo:MenuItem LookID="None" Text-Html="HOME" Text-Padding-Right="6">
</eo:MenuItem>
<eo:MenuItem Image-Url="00000303" LookID="None" Text-Html="|">
</eo:MenuItem>
<eo:MenuItem Text-Html="SOLUTIONS">
<SubMenu>
<Items>
<eo:MenuItem ItemID="top_border" LookID="submenu_top" Text-Html="">
</eo:MenuItem>
<eo:MenuItem Text-Html="Education">
</eo:MenuItem>
<eo:MenuItem Text-Html="Financial Services">
</eo:MenuItem>
<eo:MenuItem Text-Html="Government">
</eo:MenuItem>
<eo:MenuItem Text-Html="Manufacturing">
</eo:MenuItem>
<eo:MenuItem Text-Html="Telecommunications">
</eo:MenuItem>
<eo:MenuItem ItemID="separator" LookID="separator" Text-Html="">
</eo:MenuItem>
<eo:MenuItem Text-Html="Training and eLearning">
</eo:MenuItem>
<eo:MenuItem Text-Html="Video and Audio">
</eo:MenuItem>
<eo:MenuItem Text-Html="Web Conferencing">
</eo:MenuItem>
<eo:MenuItem Text-Html="Web Publishing">
</eo:MenuItem>
<eo:MenuItem ItemID="bottom_border" LookID="submenu_bottom" Text-Html="">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Image-Url="00000303" LookID="None" Text-Html="|">
</eo:MenuItem>
<eo:MenuItem Text-Html="DOWNLOADS">
<SubMenu>
<Items>
<eo:MenuItem ItemID="top_border" LookID="submenu_top" Text-Html="">
</eo:MenuItem>
<eo:MenuItem Text-Html="Download Home">
</eo:MenuItem>
<eo:MenuItem Text-Html="Trial Downloads">
</eo:MenuItem>
<eo:MenuItem Text-Html="Upgrades">
</eo:MenuItem>
<eo:MenuItem Text-Html="Platinum Package">
</eo:MenuItem>
<eo:MenuItem ItemID="bottom_border" LookID="submenu_bottom" Text-Html="">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Image-Url="00000303" LookID="None" Text-Html="|">
</eo:MenuItem>
<eo:MenuItem Text-Html="SUPPORT">
<SubMenu>
<Items>
<eo:MenuItem ItemID="top_border" LookID="submenu_top" Text-Html="">
</eo:MenuItem>
<eo:MenuItem Text-Html="Support Home">
</eo:MenuItem>
<eo:MenuItem Text-Html="Customer Service">
</eo:MenuItem>
<eo:MenuItem Text-Html="Documentations">
</eo:MenuItem>
<eo:MenuItem Text-Html="Training">
</eo:MenuItem>
<eo:MenuItem ItemID="bottom_border" LookID="submenu_bottom" Text-Html="">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Image-Url="00000303" LookID="None" Text-Html="|">
</eo:MenuItem>
<eo:MenuItem Text-Html="COMPANY">
<SubMenu>
<Items>
<eo:MenuItem ItemID="top_border" LookID="submenu_top" Text-Html="">
</eo:MenuItem>
<eo:MenuItem Text-Html="Support Home">
</eo:MenuItem>
<eo:MenuItem Text-Html="Training">
</eo:MenuItem>
<eo:MenuItem Text-Html="Documentation">
</eo:MenuItem>
<eo:MenuItem Text-Html="Forums">
</eo:MenuItem>
<eo:MenuItem ItemID="bottom_border" LookID="submenu_bottom" Text-Html="">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Image-Url="Blank" LookID="None" Text-Html="-" Width="50">
</eo:MenuItem>
<eo:MenuItem Image-Url="00000302" LookID="None" Text-Html=")">
</eo:MenuItem>
</Items>
</TopGroup>
</eo:Menu>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="1" width="100%" align="center" border="0" >
<tr>
<td vAlign="top" align="left" colspan="2">
<asp:placeholder id="ph" runat="server"></asp:placeholder>
</td>
</tr>
<tr>
<td align="center" valign="top" style="height: 19px" colspan="2">
</td>
</tr>
<tr>
<td vAlign="top" align=center colSpan="2" style="height: 12px">Copyright &copy; <a href="mailto:info@galileng.com">Galil Software</a> 2008. All Rights Reserved.
</td>
</tr>

</table>
</td>
</tr>
</table>
</form>
</body>
</html>
eo_support
Posted: Monday, December 15, 2008 6:04:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Hi,

Your menu looks perfect fine for us. So you may wish to try it in a separate blank page and see if it works. The menu will always render regardless whether it is licensed or not. So it should not have anything to do with license.

Thanks!
Saed
Posted: Monday, December 15, 2008 12:25:06 PM
Rank: Advanced Member
Groups: Member

Joined: 10/15/2008
Posts: 45
You said you are using a Master page then provided the page including the Menu. If said page is intended to load into your Master, then definitely it will fail so, and consequently, the Menu will not show.

Your page declaration has no reference to the Master page, nor it is properly structured as a content page. In this case, the root of your problem lies in handling Master and content pages, not in the Menu itself.

hope this helps.

Regards,

Saed Hamdan
"Man may be destroyed but not defeated" -Hemmingway
eo_support
Posted: Monday, December 15, 2008 12:55:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
Thanks for the input!
Y.W. GALIL ENGINEERING
Posted: Monday, December 15, 2008 10:07:56 PM
Rank: Newbie
Groups: Member

Joined: 3/19/2008
Posts: 8
thx but i changed it to a standalone page in order to analyze if the master page is causing this...
i usaly using a base class in web pages, i've also isolated it in this case.
I have no clue about this problem. the control wouldn't render and i've got few script errors:
1 - "_eofi_cn" is undefined - line 7
2 - "_eofi_dq" is undefined - line 7
3 - "_eofi_cr" is undefined - line 7
this problem appers with almost all of the controls( i've gone back to 2007) in the suite...

Y.W. GALIL ENGINEERING
Posted: Monday, December 15, 2008 10:26:28 PM
Rank: Newbie
Groups: Member

Joined: 3/19/2008
Posts: 8
SOLVED !
i had a automatic <p> added in the Application_EndRequest method in the global.asax...
Code: C#
protected void Application_EndRequest(Object sender, EventArgs e)
        {
            Response.Write("&lt;p align=center class=text &gt;&lt;a href='http://www.galileng.com' target=\"_blank\"&gt;A Subsidiary Of Galil Engineering Group Ltd&lt;/a&gt;&lt;/p&gt;");
        }

once removed it all works fine !
Pray
eo_support
Posted: Tuesday, December 16, 2008 6:19:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
That makes sense. When you do that in EndRequest it produces invalid HTML. Glad you found that out!


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.