Products

Solutions

Resources

Partners

Community

About

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...Getting StartedGetting StartedTelerik Control in in DotNetNuke 6.0Telerik Control in in DotNetNuke 6.0
Previous
 
Next
New Post
10/4/2011 12:25 PM
 

Hi to all,

I'd like to ask one question about Telerik control in DotNetNuke 6.0.

I'm using DotNetNuke Community Edition 06.00.01 (310)

I'd like to use Telerik control in my own module developed, for develop the module I’ve used template from page:

http://christoctemplate.codeplex.com/

From documentation:
http://www.dotnetnuke.com/Resources/Blogs/EntryId/3114/Telerik-Controls-in-DotNetNuke-6-0.aspx

I read:
Every control included in Telerik's 2011 Q1 SP2 release has a wrapper in 6.0.0.

I'd kindly like to ask what does it mean.

For example when I'd like to use one control in my project I can use following:

<%@ Register Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" TagPrefix="DNNCtrl" %>

<DNNCtrl:DnnComboBox ID="DnnComboBox1" Runat="server" Sort="Ascending"
                                    Text="Select" AppendDataBoundItems="True">
 </DNNCtrl:DnnComboBox>

Protected WithEvents DnnComboBox1 As Global.DotNetNuke.Web.UI.WebControls.DnnComboBox

When I want to access to properties exposed by DnnComboBox1 I can use following code:

DnnComboBox1.AddItem("test",1)

If I try to download Telerik's 2011 Q1 SP2 and import a Telerik control in a new Asp.NET web project ( no DNN ) and try to repeat all the process, I can access to other properties for example:

RadComboBox1.Items

If now I try to write this line in DDN project that include Telerik control, I get following error:

Error    13    'Public ReadOnly Property Items As Telerik.Web.UI.RadComboBoxItemCollection' is declared in project 'Telerik.Web.UI.dll', which is not referenced by project . Add a reference to 'Telerik.Web.UI.dll' to your project

Now if I add this reference I can access to Item property.

I'd kindly like if this behavior is part of wrapper class written to access Telerik control from DNN.
For my knowledge, I'd kindly like to ask why is necessary to use wrapper class for access to Telerik control from DNN.

Thank you very much for your precious help!

Regards
Maurizio
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedTelerik Control in in DotNetNuke 6.0Telerik Control in in DotNetNuke 6.0


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