|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 4
|
Hi, I've used EO.Web for awhile and love it. I'm having an issue with using either a slidemenu or a menu. I drag/drop the menu into the aspx page, rightclick and edit the menu (create it from a template) then click "OK" leaving everything default. In the code I get <eo:Menu> tags which work great but for the menuitems I get <eo.web.menuitem> which seems to be causing the problems. .aspx code is below
Code: HTML/ASPX
<eo:Menu ID="Menu1" runat="server" ControlSkinID="None" Width="200px">
<LookItems>
<eo.web.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.web.menuitem>
<eo.web.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.web.menuitem>
<eo.web.menuitem image-mode="TextBackground" image-url="00000314" itemid="separator"
lefticon-url="00000313" righticon-url="00000315"></eo.web.menuitem>
<eo.web.menuitem image-mode="TextBackground" image-url="00000312" itemid="submenu_bottom"
lefticon-url="00000310" righticon-url="00000311"></eo.web.menuitem>
<eo.web.menuitem image-mode="TextBackground" image-url="00000307" itemid="submenu_top"
lefticon-url="00000308" righticon-url="00000309"></eo.web.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.web.menuitem image-url="00000301" lookid="None" text-html="("></eo.web.menuitem>
<eo.web.menuitem lookid="None" text-html="HOME" text-padding-right="6"></eo.web.menuitem>
<eo.web.menuitem image-url="00000303" lookid="None" text-html="|"></eo.web.menuitem>
<eo.web.menuitem text-html="SOLUTIONS">
<submenu><Items>
<eo.web.menuitem itemid="top_border" lookid="submenu_top" text-html=""></eo.web.menuitem>
<eo.web.menuitem text-html="Education"></eo.web.menuitem>
<eo.web.menuitem text-html="Financial Services"></eo.web.menuitem>
<eo.web.menuitem text-html="Government"></eo.web.menuitem>
<eo.web.menuitem text-html="Manufacturing"></eo.web.menuitem>
<eo.web.menuitem text-html="Telecommunications"></eo.web.menuitem>
<eo.web.menuitem itemid="separator" lookid="separator" text-html=""></eo.web.menuitem>
<eo.web.menuitem text-html="Training and eLearning"></eo.web.menuitem>
<eo.web.menuitem text-html="Video and Audio"></eo.web.menuitem>
<eo.web.menuitem text-html="Web Conferencing"></eo.web.menuitem>
<eo.web.menuitem text-html="Web Publishing"></eo.web.menuitem>
<eo.web.menuitem itemid="bottom_border" lookid="submenu_bottom" text-html=""></eo.web.menuitem>
</Items>
</submenu>
</eo.web.menuitem>
<eo.web.menuitem image-url="00000303" lookid="None" text-html="|"></eo.web.menuitem>
<eo.web.menuitem text-html="DOWNLOADS">
<submenu><Items>
<eo.web.menuitem itemid="top_border" lookid="submenu_top" text-html=""></eo.web.menuitem>
<eo.web.menuitem text-html="Download Home"></eo.web.menuitem>
<eo.web.menuitem text-html="Trial Downloads"></eo.web.menuitem>
<eo.web.menuitem text-html="Upgrades"></eo.web.menuitem>
<eo.web.menuitem text-html="Platinum Package"></eo.web.menuitem>
<eo.web.menuitem itemid="bottom_border" lookid="submenu_bottom" text-html=""></eo.web.menuitem>
</Items>
</submenu>
</eo.web.menuitem>
<eo.web.menuitem image-url="00000303" lookid="None" text-html="|"></eo.web.menuitem>
<eo.web.menuitem text-html="SUPPORT">
<submenu><Items>
<eo.web.menuitem itemid="top_border" lookid="submenu_top" text-html=""></eo.web.menuitem>
<eo.web.menuitem text-html="Support Home"></eo.web.menuitem>
<eo.web.menuitem text-html="Customer Service"></eo.web.menuitem>
<eo.web.menuitem text-html="Documentations"></eo.web.menuitem>
<eo.web.menuitem text-html="Training"></eo.web.menuitem>
<eo.web.menuitem itemid="bottom_border" lookid="submenu_bottom" text-html=""></eo.web.menuitem>
</Items>
</submenu>
</eo.web.menuitem>
<eo.web.menuitem image-url="00000303" lookid="None" text-html="|"></eo.web.menuitem>
<eo.web.menuitem text-html="COMPANY">
<submenu><Items>
<eo.web.menuitem itemid="top_border" lookid="submenu_top" text-html=""></eo.web.menuitem>
<eo.web.menuitem text-html="Support Home"></eo.web.menuitem>
<eo.web.menuitem text-html="Training"></eo.web.menuitem>
<eo.web.menuitem text-html="Documentation"></eo.web.menuitem>
<eo.web.menuitem text-html="Forums"></eo.web.menuitem>
<eo.web.menuitem itemid="bottom_border" lookid="submenu_bottom" text-html=""></eo.web.menuitem>
</Items>
</submenu>
</eo.web.menuitem>
<eo.web.menuitem image-url="Blank" lookid="None" text-html="-" width="50"></eo.web.menuitem>
<eo.web.menuitem image-url="00000302" lookid="None" text-html=")"></eo.web.menuitem>
</Items>
</TopGroup>
</eo:Menu>
When I run that I get the following error: Parsing Error: Parser Error Message: EO.Web.MenuLookItemCollection must have items of type 'EO.Web.MenuItem'. 'eo.web.menuitem' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. If I do a quick replace of "eo.web." to "eo:" it works fine. Thanks in advance.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We are not sure what can cause that. Is it the same if you try to inside a blank new project?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 4
|
When creating a new project and doing the exact same steps it works fine.
Should I create a new project and just c/p the .aspx and .aspx.vb files in the new project?
I originally found this problem when modifying a simple menuitem through the GUI and noticed the GUI put a duplicate set of menuitems (ones with the correct eo:, and ones with the incorrect eo.web). Weird stuff....
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Copy the project can be the last resort. Before that you can try to find out the difference between the two projects. Two most sensitive spots are your project reference and your web.config. You can try to compare those and see if you can spot any difference. If none of those works, I guess you can go ahead and copy the files to the new project.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 4
|
Hi, More peices to the puzzle. I went ahead and created a new project and drag/dropped a new menu into a Masterpage making sure the program created everything by default. Things worked well, was able to build the application no problem, so I then went to add existing items (aspx pages), things were still working fine. I went to modify the menu that I dragged/dropped initially when I created the new project using the GUI and got everything looking good, tried to build and got the same issue. In the aspx code their is the eo:menuitem that was created earlier and then a duplicate with the EO.Web.Menuitem? Any Ideas?
Code: HTML/ASPX
<body>
<form id="form1" runat="server">
<div class="DivMenu">
<eo:Menu ID="Menu1" runat="server" ControlSkinID="None" Width="150px">
<lookitems>
<eo:MenuItem HoverStyle-CssText="color:#F7B00A;padding-left:5px;padding-right:5px;"
ItemID="_TopLevelItem"
NormalStyle-CssText="padding-left:5px;padding-right:5px;">
<submenu itemspacing="5" offsetx="-3" offsety="3" shadowdepth="0"
style-csstext="border-right: #e0e0e0 1px solid; padding-right: 3px; border-top: #e0e0e0 1px solid; padding-left: 3px; font-size: 12px; padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand; color: #5f7786; padding-top: 3px; border-bottom: #e0e0e0 1px solid; font-family: arial; background-color: #f7f8f9">
</submenu>
</eo:MenuItem>
<eo:MenuItem IsSeparator="True" ItemID="_Separator"
NormalStyle-CssText="width: 1px; height: 1px; background-color:#e0e0e0;">
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="color:#F7B00A;padding-left:5px;padding-right:5px;"
ItemID="_Default" NormalStyle-CssText="padding-left:5px;padding-right:5px;">
<submenu itemspacing="5" offsetx="3" offsety="-4" shadowdepth="0"
style-csstext="border-right: #e0e0e0 1px solid; padding-right: 3px; border-top: #e0e0e0 1px solid; padding-left: 3px; font-size: 12px; padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand; color: #5f7786; padding-top: 3px; border-bottom: #e0e0e0 1px solid; font-family: arial; background-color: #f7f8f9">
</submenu>
</eo:MenuItem>
<EO.Web.MenuItem NormalStyle-CssText="padding-left:5px;padding-right:5px;" HoverStyle-CssText="color:#F7B00A;padding-left:5px;padding-right:5px;" ItemID="_TopLevelItem">
<SubMenu OffsetX="-3" OffsetY="3" ShadowDepth="0" ItemSpacing="5" Style-CssText="border-right: #e0e0e0 1px solid; padding-right: 3px; border-top: #e0e0e0 1px solid; padding-left: 3px; font-size: 12px; padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand; color: #5f7786; padding-top: 3px; border-bottom: #e0e0e0 1px solid; font-family: arial; background-color: #f7f8f9"></SubMenu>
</EO.Web.MenuItem>
<EO.Web.MenuItem IsSeparator="True" NormalStyle-CssText="width: 1px; height: 1px; background-color:#e0e0e0;" ItemID="_Separator"></EO.Web.MenuItem>
<EO.Web.MenuItem NormalStyle-CssText="padding-left:5px;padding-right:5px;" HoverStyle-CssText="color:#F7B00A;padding-left:5px;padding-right:5px;" ItemID="_Default">
<SubMenu OffsetX="3" OffsetY="-4" ShadowDepth="0" ItemSpacing="5" Style-CssText="border-right: #e0e0e0 1px solid; padding-right: 3px; border-top: #e0e0e0 1px solid; padding-left: 3px; font-size: 12px; padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand; color: #5f7786; padding-top: 3px; border-bottom: #e0e0e0 1px solid; font-family: arial; background-color: #f7f8f9"></SubMenu>
</EO.Web.MenuItem>
</lookitems>
<topgroup orientation="Vertical"
style-csstext="border-right: #e0e0e0 1px solid; padding-right: 10px; border-top: #cb3e00 2px solid; padding-left: 10px; font-size: 12px; background-image: url(00020005); padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand; color: #5f7786; padding-top: 3px; font-family: arial">
<Items>
<eo:MenuItem Text-Html="Home">
<submenu>
<Items>
<eo:MenuItem Text-Html="Data Entry">
<submenu>
<Items>
<eo:MenuItem Text-Html="Single Payments">
</eo:MenuItem>
<eo:MenuItem Text-Html="Bulk Entry">
</eo:MenuItem>
<eo:MenuItem Text-Html="Edit Payments">
</eo:MenuItem>
<eo:MenuItem IsSeparator="True">
</eo:MenuItem>
<eo:MenuItem Text-Html="Emailed Report">
</eo:MenuItem>
<eo:MenuItem IsSeparator="True">
</eo:MenuItem>
<eo:MenuItem Text-Html="Bank Deposit">
</eo:MenuItem>
</Items>
</submenu>
</eo:MenuItem>
<eo:MenuItem Text-Html="Reports">
<submenu>
<Items>
<eo:MenuItem Text-Html="Payments">
</eo:MenuItem>
<eo:MenuItem Text-Html="Transactions">
</eo:MenuItem>
<eo:MenuItem Text-Html="Rolled Up">
</eo:MenuItem>
<eo:MenuItem Text-Html="Non Cleared">
</eo:MenuItem>
</Items>
</submenu>
</eo:MenuItem>
</Items>
</submenu>
</eo:MenuItem>
<EO.Web.MenuItem Text-Html="Home">
<SubMenu><Items>
<EO.Web.MenuItem Text-Html="Data Entry">
<SubMenu><Items>
<EO.Web.MenuItem Text-Html="Single Payments" navigateurl="~/Payments.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Bulk Entry" navigateurl="~/Payments_Bulk.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Edit Payments" navigateurl="~/Payments_Bulk.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem IsSeparator="True"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Emailed Report" navigateurl="~/Transaction.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem IsSeparator="True"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Bank Deposit" navigateurl="~/BankDeposit.aspx"></EO.Web.MenuItem>
</Items>
</SubMenu>
</EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Reports">
<SubMenu><Items>
<EO.Web.MenuItem Text-Html="Payments" navigateurl="~/Report/Report_Payments.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Transactions" navigateurl="~/Report/Report_Transactions.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Rolled Up" navigateurl="~/Report/Report_Rollup.aspx"></EO.Web.MenuItem>
<EO.Web.MenuItem Text-Html="Non Cleared" navigateurl="~/Report/Report_Cleared.aspx"></EO.Web.MenuItem>
</Items>
</SubMenu>
</EO.Web.MenuItem>
</Items>
</SubMenu>
</EO.Web.MenuItem>
</Items>
</topgroup>
</eo:Menu>
</div>
<div class="DivMainContent">
<asp:ContentPlaceHolder id="CPHbody" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
For now since I need to get this project done i'm just modifying the menu via code, but it would make it easier when making later changes.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Jack Jarrett wrote:tried to build and got the same issue. So are you saying that the build process added those extra tags?
|
|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 4
|
Nope, it adds the extra tags as soon as you hit "OK" from the GUI, even if you don't make any changes.
|
|