Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTelerik Controls - Visual Studio Designer - DNN 7 EnterpriseTelerik Controls - Visual Studio Designer - DNN 7 Enterprise
Previous
 
Next
New Post
12/15/2014 4:45 PM
 

Hello,

I am working on developing a module for DNN 7 and am trying to use the Telerik RadEditor or DNNEditor.  I have the Telerik.Web.Design.DLL provided form DNN that matches the version of the Telerik.Web.UI.dll that I have.  I can add the controls to the visual studio toolbox either for the DotNetNuke.Web.dll or Telerik.Web.UI.dll and the controls all show up in the toolbox just fine. 

When I drag one of the controls to the design surface (either DNNEditor, RadEditor, or any other Telerik or DNN Wrapped Telerik control) I get an error stating that "This version of Telerik RadControls is intended for use only in DotNetNuke"

I am using the christoc template for the DNN module and everything builds and installs fine until I try to add the Telerik control.

Does anyone have any suggestions?

 
New Post
12/15/2014 5:29 PM
 
that's intended behaviour - DNN's version of telerik does not support the design time surface. If you have a full licensed version of telerik you can use it, but you'll have to ensure that your project references that version

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/15/2014 5:55 PM
 
That seems to contradict the knowledge base article 288 that gives instructions for adding the controls to visual studio toolbox which I would think would only apply ifi t could be used in design time surface. The text of the article I've pasted below:

Telerik RadControls for ASP.NET are included in the DotNetNuke Professional /bin directory and must be manually added to the Visual Studio Toolbox as described below.

To add Telerik RadControls for ASP.NET AJAX to the Toolbox manually and to be able to easily deploy the components in your WebForms in Design mode, follow the steps below:
Open your application in Visual Studio 2008.
Expand the Toolbox.
Expand the General Section.
Right-click in the General section and open Choose Items.
On the .NET Framework Components tab, click Browse.
Browse to the DotNetNuke Professional website installation folder, open the bin folder and select the Telerik.Web.UI.dll.

If you are using the DotNetNuke Professional Source package then you can find the assembly in the following folder relative to your DotNetNuke install directory \Library\Components\Telerik\bin
Click Open to confirm. The icons for all controls in the suite will appear in the Toolbox.

Additional Notes:
Telerik can legally ONLY be used through DotNetNuke wrappers in Community Edition (or by purchasing a license directly from Telerik)
In order for the controls to show up correctly in the Toolbox, you need to make sure that you also have Telerik.Web.Design.dll in your bin folder and make sure that it's the same version as Telerik.Web.UI.dll
Telerik can be used natively in Professional & Enterprise Editions (Elite is not required) - but utilizing wrappers is still a good architectural practice
No license key is required because we distribute a custom DLL provided by Telerik which is licensed for usage within a DotNetNuke application (it cannot be used in custom ASP.NET applications)
 
New Post
12/15/2014 5:56 PM
 
Though after reading your post I went ahead and compiled the module even with the rendering error and it does indeed work. but still seems odd
 
New Post
12/15/2014 6:27 PM
 

FWIW I would start to avoid any direct use of the dnn telerik wrappers - as moving forward they will not be part of the core.

As such if you want to specifically user a telerik element in your own custom modules - then as cathal mentioned you need to make sure you reference the telerik version of the dll in your module builds

Westa

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTelerik Controls - Visual Studio Designer - DNN 7 EnterpriseTelerik Controls - Visual Studio Designer - DNN 7 Enterprise


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out