Can't add Telerik controls to a user control

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.
3/23/2020 12:41:01 PM
Gravatar
Total Posts 19

Can't add Telerik controls to a user control

I installed the Telerik controls and they work in the layout.master, but I can't get them to load in a user control.

I created a user control and added it to the feature installation & configurations section.  Adding the user control to a page works, and I can see asp controls like a button and text box.  When I add a Telerik control to the user control, I get this error:

2020-03-23 12:39:23,642 ERROR 127.0.0.1 - en-US - /telerik-test - mojoPortal.Web.UI.CmsPage - failed to load control controls/mycontrols/usercontroltest.ascx 
System.Web.HttpCompileException (0x80004005): C:\inetpub\mysite\controls\mycontrols\usercontroltest.ascx(35): error BC30002: Type 'Telerik.Web.UI.RadButton' is not defined.
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at mojoPortal.Web.UI.CmsPage.LoadPage()

Why would a RadButton work in the layout.master but not a user control?

Also, I tried replacing asp:ScriptManager with telerik:RadScriptManager.  Everything seems to work except that the administration panel on the left side of the page won't open.  

I'm using the deployment files, not the source code.

Thanks for any help!!!

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