Postback on pagemenu in tree view breaks content

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.
1/30/2013 9:28:29 AM
Gravatar
Total Posts 128

Postback on pagemenu in tree view breaks content

I have a site with this in the left panel:

<portal:PageMenu id="PageMenu1" runat="server" UseTreeView="true"  />

I have a page at root level, with an html content module and a blog.

When a user clicks on the "+" to expand the tree, the page posts back, we stay on the same page, the menu expands, but the blog breaks. It shows no posts, and different stuff on the right.

mojoPortal Version 2.3.9.0 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
 

 

1/30/2013 10:25:11 AM
Gravatar
Total Posts 2239

Re: Postback on pagemenu in tree view breaks content

Hi,

A work-around would be to add TreeViewPopulateOnDemand="false" to your portal:PageMenu control. Considering this is a pagemenu, it's only going to show the pages under the current page so if there aren't a lot of pages, you can leave PopulateOnDemand off. It's really only needed to cut down on page size when the menu is going to have thousands of pages.

HTH,
Joe D.

1/30/2013 10:42:26 AM
Gravatar
Total Posts 128

Re: Postback on pagemenu in tree view breaks content

Thanks Joe D that's a good tip, avoids the bug, and makes the tree menu much nicer to use as well.

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