Broken PageMenu control reference

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/18/2010 10:20:15 AM
Gravatar
Total Posts 190

Broken PageMenu control reference

This may just be my Visual Studio ignorance, but I have a custom feature (that inherits SiteModuleControl) with a <portal:PageMenu> control and it has been working fine until today. Suddenly, the designer file has decided to start using System.Web.UI.UserControl as the type. If I change it back manually, it's fine until I edit the ascx file and it changes again. Any thoughts?

Thanks,

John

1/18/2010 10:28:08 AM
Gravatar
Total Posts 18439

Re: Broken PageMenu control reference

Hi John,

I occasionally run into this issue with the VS designer, not sure what the cause is. In one place where I could not get it to stop changing the reference back to UserControl, what I did was cast the UserControl as the more specific type from code before using it.

However, I will say using PageMenu in a SiteModuleControl rather than in layout.master is not an anticipated use, if it works great, but it was intended to be used only in layout.master and that is the only scenario where I test it.

Best,

Joe

1/18/2010 10:39:32 AM
Gravatar
Total Posts 190

Re: Broken PageMenu control reference

Thanks Joe. I guess it's some consolation to know I'm not the only one this happens to.

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