Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
10
Issue upgrading from v7.2.20072.1063 to v8.1.20081.2013
posted

Hello,

 We have recently upgraded to the 8.1 version from 7.2 and have encountered problems with our UltraWebMenu control that we've been unable to solve.

Problem: Unable to click at some area within some buttons (some areas that should be 'link' areas are not anymore)
Description:
We have a UltraWebMenu control linked to a sitemap (see sitemap below) with seven buttons that are visible on a page. Normally (which worked in the previous version) the whole area within each button is clickable and redirects users to the referenced page. In this case however the second and third button (the first is disabled) only link to their pages when you move your mouse over the menu text itself, not the surrounding button area. The other buttons however work as intended where the whole button area is clickable (fourth button however have a small area close to the third button that is not clickable but rest of the button is working).

We have not made any changes to the sitemap or control besides upgrading the control and made sure there are no references to the old 7.2 version.

Please see the sitemap at Appendix 1, and the user control containing the UltraWebMenu at Appendix 2 below.

 

Problem: UltraWebMenu no longer accepting "selected item" style
Description:
With the UltraWebMenu we previously had the selected menu item set to a different colour to help the user figure out where he was (set with ccs style programatically*). This is no longer working in version 8.1.

 

Appendix 1: SiteMap

<?xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

<siteMapNode url="" title="CCS" description="">

<siteMapNode title="SYSTEM" description="" url="~/Default.aspx">

<siteMapNode title="View change" url="~/Project/ChangeObject/ChangeObjectStartpage.aspx">

<siteMapNode title="Summary" url="~/Project/ChangeObject/ChangeObjectSummary.aspx" />

<siteMapNode title="Details" url="~/Project/ChangeObject/ChangeObject.aspx" />

<siteMapNode title="Add task" url="~/Project/Task/TaskInitiate.aspx" />

<siteMapNode title="Update status" url="~/Project/ChangeObject/Proceed.aspx" />

</siteMapNode>

<siteMapNode title="My changes" url="~/Project/ProjectStartpage.aspx" />

<siteMapNode title="My tasks" url="~/Project/Task/Tasks.aspx" />

<siteMapNode title="Create change" url="~/Project/ChangeObject/ChangeObjectInitiate.aspx" />

<siteMapNode title="Search change" url="~/Project/ChangeObject/ChangeObjectSearch.aspx" />

<siteMapNode title="Project reports" url="~/Report/Reports.aspx" />

<siteMapNode title="My projects" description="CCS Startpage" url="~/Start/Startpage.aspx" />

</siteMapNode>

</siteMapNode>

</siteMap>

 

Appendix 2: User Control containing UltraWebMenu

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuSystemControl.ascx.cs" Inherits="AkerKvaerner.CCS.Presentation.WebUI.UserControls.Core.MenuSystemControl" %>

<%@ Register TagPrefix="ignav" Namespace="Infragistics.WebUI.UltraWebNavigator" Assembly="Infragistics2.WebUI.UltraWebNavigator.v8.1, Version=8.1.20081.2013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>

<table class="MenuLevel1Section" Xclass="Level1Menu" cellpadding="0" cellspacing="0" Xwidth="100%" border="0">

<tr>

<td Xwidth="100%" valign="top">

<ignav:UltraWebMenu ID="WebMenu" runat="server" DataSourceID="SiteMapDataSource1" JavaScriptFilename=""

JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl="" Height="100%" ItemPaddingSubMenus="0" ItemPaddingTop="0" ItemSpacingTop="0" StyleSetName="Default" EnableAppStyling="True">

</ignav:UltraWebMenu>

</td></tr>

</table>

<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="False" StartingNodeUrl="~/Default.aspx" />

 

We've been trying to find a solution for several days now and would very much appreciate some help.

Thank you in advance!

  • 10
    posted

    Hello again,

    Thought I should mention that this issue has now been resolved. Apparently mixing html elements that are "position: relative" with html elements that are "position: absolute" close to the menu can make it behave in strange ways (varies by browser), though the mix did work fine with the 7.2 version. The solution was to remove all elements with "position: absolute" in close vicinity and it started working as expected again.

    /Tommy