Blog item looks veird after menu expand

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.
5/25/2009 8:12:49 AM
Gravatar
Total Posts 5

Blog item looks weird after menu expand

HI, using MP 2.2.8.6 MSSQL on Windows.

I have a weird looking blog item after expanding a subpage menu item on the same page as the blog item.

Rather than trying to descripe it in details you can see it yourself on:

http://www.bitfix.dk/1dynamic-aspnet-controls-and-viewstate.aspx

When the page is open, click the [+] to expand the mojoportal menu item. There you see it.

Its hard to determine if its the mojoportal framework or the blog item that is inconsistent in behaviour.

/// thank you everyone, for a great CMS system.

 

5/25/2009 9:12:22 AM
Gravatar
Total Posts 18439

Re: Blog item looks veird after menu expand

Its because the blog page is designed to render the blog post if(!Page.IsPostback)

You've enabled it to show left column content in the blog and the menu appears there but is configured to use postback to dynamically populate child nodes. You may be able to solve it by setting TreeViewPopulateOnDemand="false" on the menu, if your hierarchy is not too deep it should be fine without populating on demand.

Only other solution I think would be to make a clone of the PageMenu.ascx and wrap an UpdatePanel around the treeview so it populates with an ajax postback instead of full postback.

Hope it helps,

Joe

5/26/2009 1:15:36 AM
Gravatar
Total Posts 5

Re: Blog item looks veird after menu expand

Hi Joe,

Great help, and quick. Im really impressed with your work.

A beer is coming to your town.

5/26/2009 5:32:05 AM
Gravatar
Total Posts 18439

Re: Blog item looks veird after menu expand

Thanks a lot for the beer! Much appreciated.

Cheers,

Joe 

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