portal:mojoHelpLink in update panel

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.
8/26/2011 3:31:28 AM
Gravatar
Total Posts 19

portal:mojoHelpLink in update panel

Morning,

I have an aspx page that inherits from mojoBasePage, on this page I have some mojoHelpLink's inside an update panel.  After an asyncpostback the help no longer shows in a lightbox/colorbox? style popup panel but instead redirects to help.aspx.

I'm assuming that there is some javascript I need to emit?

Thanks

 

9/2/2011 2:55:08 AM
Gravatar
Total Posts 19

Re: portal:mojoHelpLink in update panel

I have found a solution.

I had a trawl through the page response in fiddler and found the relevant javascript

$('a.cblink').colorbox({width:'85%', height:'85%', iframe:true});

So, on an async postback I register the javascript using ScriptManager.RegisterStartupScript

Works a treat!

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