Pane not showing up

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/5/2010 1:12:01 PM
Gravatar
Total Posts 2239

Pane not showing up

Hi Joe,

The left and right Panes don't show up unless you have a PageMenu control, ModuleWrapper or content assigned to it on the page. I created a custom control which works and displays fine as long as I have content assigned to the pane that it is in. I even tried adding some plain HTML markup to the pane but it only shows up when the PageMenu displays, or I have a ModuleWrapper or have content assigned to the same pane.

I hope that isn't too confusing.

Thanks,
Joe D.

6/5/2010 1:21:47 PM
Gravatar
Total Posts 18439

Re: Pane not showing up

Hi Joe,

That is by design, that is how our automatic layout has always worked.

Best,

Joe

6/5/2010 1:26:08 PM
Gravatar
Total Posts 18439

Re: Pane not showing up

I could possibly add a property on the StyleSheetCombiner for AlwaysShowLeftColumn and AlwaysShowRightColumn and I could make the master page detect that. I can do that for the next release if it will help.

Best,

Joe

6/5/2010 1:26:12 PM
Gravatar
Total Posts 2239

Re: Pane not showing up

Hi Joe,

I was afraid you would say that. Truth is, I am using the Right pane to show the user control; I have always placed it in the left pane.

Is there any way to force the pane to show? Like maybe putting another control that would cause the pane to display but then setting the CSS on the control to hide it?

Thanks,
Joe D.

6/5/2010 1:28:59 PM
Gravatar
Total Posts 18439

Re: Pane not showing up

You could probably put a ModuleWrapper with ConfigureModuleId="-1" in there

6/5/2010 1:32:51 PM
Gravatar
Total Posts 2239

Re: Pane not showing up

Hi Joe,

Allow me to clarify, I have always placed the control in the left pane and there has always been a page menu along with the control.

The ModuleWrapper with ConfigureModuleID="-1" worked just fine. Thanks!

The additional properties would definitely help although I don't know if that's absolutely necessary considering the module wrapper deal works. If you did add these properties, would it make the panes visible in the admin pages?

Thanks,
Joe D.

6/5/2010 1:37:26 PM
Gravatar
Total Posts 18439

Re: Pane not showing up

Yes, it would be skin level properties so it would show them in all the pages using the skin. No different than if it were making the column visible because it detected your customcontrol. The idea of the properties would be only for that kind of scenario where you have some non cntent management control that you want to always show in a side column on every page.

Best,

Joe

6/10/2010 7:46:29 AM
Gravatar
Total Posts 2

Re: Pane not showing up

Most of the time you may come accross a simple implementation like printing a web page. But here I will not discuss about how to print a web page, instead I will discuss on how to not print specific elements on the page with the help of a CSS hack.
For example we have a web page which displays some content and a print button to print the web page if required. But we don't want to print the print button on the page. There are various way to avoid this, what follows is one of the solution using CSS.

<head runat="server">
       <style type="text/css" media="print">

       .Non-PrintableControl
        {
            display:none;
        }

    </style>

    <script type="text/javascript">

        function PrintWebPage() {
            window.print();
        }
 

Eliza

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