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 WrappersTelerik Wrappers
Previous
 
Next
New Post
3/17/2010 12:56 AM
 

Is there Wrapper API for the Telerik controls in 5.3?

I see some of the telerik controls wrapped in DotNetNuke.Web.UI.WebControls, such as the DnnTextBox. When I attempt to use that in a module it says that a reference to the Telerik dll is required.
I'm using 
    Dim ctlTextBox As New DotNetNuke.Web.UI.WebControls.DnnTextBox()
to define the control. I have a reference to DotNetNuke.Web in my module.

If the wrappers are in this release - I'm missing something. 
Thanks

 
New Post
3/17/2010 7:53 AM
 

you need to add a reference to the telerik.dll as well

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/29/2010 6:12 PM
 
@Baatezu I have seen you have used some of kind of wrapper in DNN 5.3 for Telerik controls for the CE. Now, I want to know if there is a documentation of these wrappers. How to use them, etc. What did you do to know how to use them? BTW. Do you know of any links or anything about this?
 
New Post
3/29/2010 7:43 PM
 

 I haven't seen any documentation for them. I looked for "Telerik" in the source and then found a reference to them in the code... I think I found a reference to them in the code... Anyway; Then I just attempted to use them in a quick test for an attempted integrating into Form and List. Worked pretty well for individual controls, but didn't try to tackle the grid.

I have a dev lic so I don't actually need to use the wrappers, but I'm planning on trying to so I can help with suggestions on how to improve the wrappers [aside from "More please"].

I think following these steps should set you up to use the wrapped controls

*Follow the steps in this blog to get design time support http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/314.aspx
*In Visual Studio [when on the ascx] use the 'Add Tab' on the Toolbox [via right clicking] - [I named mine 'DNN 5.3.1 Web Controls']
*Right click in your new tab and select 'Choose Items'
*Click Browse and go to the DotNetNuke.Web.dll and click the OK's back to the ascx. This should create a bunch of items in the toolbox in your DNN tab
*The ones with not a [gear] icon are the Telerik controls. [The rest are just supporting pieces IIRC]
*Add a reference to your project to the Telerik.UI.DLL - It will compile error if you don't.

From here, you should be able to use the controls as any other ASP control that is in the ToolBox.

For more specifics of the individual controls I suggest the Telerik online documentation at http://www.telerik.com/help/aspnet-aj... [just replace the 'Dnn' with 'Rad' and that's the name of the control - ie DnnTextBox = RadTextBox] I normally have that open when I'm doing dev stuff with Telerik, it's a fantastic help for all the javascript abilities these controls have.

Other than digging it out myself, I haven't seen any docs on how to use them. You might do a solution search on the source project for things like "DNNTextBox" and look for examples of their use. I don't remember many, but I tend to jump in and try things first.

 

I hope the steps help you, and anyone else looking to start leveraging the Telerik Controls for module development, get started.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTelerik WrappersTelerik Wrappers


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