Updatepanel not a known element.

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.
2/3/2011 3:26:04 PM
Gravatar
Total Posts 28

Updatepanel not a known element.

Hi,

I've just updated to a new version of Mojoportal 2.3.6.1 from 2.3.4.3  on .Net 4.0. Everything works fine except my custom code which uses updatepanel and scriptmanager. In VS 2010 I get "Element 'ScriptManager' is not a known element. Same error for the updatepanel which basically stopped working. It still all works in ver 2.3.4.3

Also searched for updatepanel within the solution and for example on Admin/PageLayout.aspx the same error occurs.

I'm at a loss why it wouldn't work. The only difference I can see is the AjaxControlToolkit version. Has anyone else had this sorts of problems with the new version?

Thanks

Peter

2/4/2011 1:03:03 PM
Gravatar
Total Posts 18439

Re: Updatepanel not a known element.

You should copy the <pages><controls> section from the mojoportal web.config into the web.config file of your custom feature.

If your feature uses AjaxControlToolkit you should delete the reference and re-create it to make sure it is referencing the same version as mojoPortal.

Hope it helps,

Joe

2/4/2011 3:51:03 PM
Gravatar
Total Posts 28

Re: Updatepanel not a known element.

Thanks Joe,

I tried but no success. I rolled back to version 2.3.4.3 . I'll keep digging and if I found something I'll post it.

Just tried something with the web.config and noticed that in the older configs there is

        <add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
        <add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>

but not in the new one.

Peter

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