PageMenu's CornerRounderTop and CornerRounderBottom

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/22/2009 10:27:35 PM
Gravatar
Total Posts 59

PageMenu's CornerRounderTop and CornerRounderBottom

OS: win 2003
DB: Sqlite
Version:2.3.0.8

Hi.Joe, Codes in control PageMenu:

//////////////////////////////////////////////////////////

.ascx: <%@ Control Language="C#" AutoEventWireup="True" CodeBehind="PageMenu.ascx.cs" Inherits="mojoPortal.Web.UI.PageMenuControl" %>
.cs:     this.Controls.Add(pageMenu);

Better Change to Below

.ascx: <%@ Control Language="C#" AutoEventWireup="True" CodeBehind="PageMenu.ascx.cs" Inherits="mojoPortal.Web.UI.PageMenuControl" %>
<mp:CornerRounderTop id="ctop1" runat="server" />  //Add
<asp:PlaceHolder ID="PlaceHolder1" runat="server" />  //Add
<mp:CornerRounderBottom id="cbottom1" runat="server" /> /Ad

.cs: this.PlaceHolder1.Controls.Add(pageMenu); //Changed
/////////////////////////////////////////////////////////////

And remove below CornerRounderTop and CornerRounderBottom from some layout.Masters.

<mp:CornerRounderTop id="ctop1" runat="server" /> //remove
<portal:PageMenu id="PageMenu1" runat="server" UseTreeView="true" />
<mp:CornerRounderBottom id="cbottom1" runat="server" /> //remove

Then CornerRounderTop and CornerRounderBottom can be invisible along with PageMenu, Otherwise maybe only CornerRounderTop and CornerRounderBottom is visible, but PageMenu is hidden in the page when current page has no child pages but has features in the left side.

Thanks.

6/23/2009 9:40:46 AM
Gravatar
Total Posts 18439

Re: PageMenu's CornerRounderTop and CornerRounderBottom

Hi,

Thanks for the suggestion, I will make a similar change. The only thing I will do different is if the menu is set to horizontal I will make the corner rounders invisible.

Best,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.