Guys,
I followed the "How to integrate the ASPxNavBar control into the sharepoint site, but it appears that our MOSS Menu HierarchyData is somehow different to that of the KB article, see attached picture.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Chris,
I suggest that you try providing correct data to your ASPxNavBar control by handling its GroupDataBound and ItemDataBound events in the manner it is described in the following Support Center issue: ASPxGridView - Popup Edit Form not working correctly in Sharepoint
In particular, you code could be similar to the one below:
protected void ASPxNavBar1_GroupDataBound(object source, DevExpress.Web.ASPxNavBar.NavBarGroupEventArgs e)
{
PortalSiteMapNode node = (e.Group.DataItem as PortalHierarchyData).PortalSiteMapNode;
e.Group.Text = node.Title;
e.Group.NavigateUrl = node.Url;
e.Group.Target = node.Target;
}
protected void ASPxNavBar1_ItemDataBound(object source, DevExpress.Web.ASPxNavBar.NavBarItemEventArgs e)
{
PortalSiteMapNode node = (e.Item.DataItem as PortalHierarchyData).PortalSiteMapNode;
e.Item.Text = node.Title;
e.Item.NavigateUrl = node.Url;
e.Item.Target = node.Target;
}
Thanks,
Andrew