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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorhow to use it in my nodule?how to use it in my nodule?
Previous
 
Next
New Post
12/21/2006 5:33 AM
 
can i use FCKEditorProvider in my own created module?
thanks!
 
New Post
12/21/2006 8:28 PM
 
If you are using it for your portal, it will automatically be used for your module.
So the answer is yes.

-Dan
 
New Post
12/23/2006 10:38 PM
 

First and foremost you must install and configure the FCKEditor text editor per the instructions found in the download. 

The easiest way I have found to determine how to use some of the DNN controls is to look at the code for one of the core modules that uses the control you want to implement.  For example, if you look at the file EditFAQ.ascx which is part of the FAQ module and is located in the DesktopModules\FAQs directory of your DNN installation you will see references to "dnn:texteditor".  Below is a sample of the entries in the ASCX file.

<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>

The above line goes at the top of your ASCX file and registeres the control so it will be recognized.  The next lines of code show how you use it in the main body HTML of your module ASCX

<td>
    <dnn:texteditor ControlID="teMyDataField" id="teMyDataField" 
    runat="server" height="200" width="500" />
</td>

I hope this helps.

Chuck

 
New Post
1/15/2007 5:00 PM
 
Quick note:  I was performing a

 

in the page load event.  The Get method of the property blew up w/ a null reference; The set method works fine.  I had to move it to the NullOrEmpty() check into the protected override void OnPreRender(EventArgs e) event so the user control could initialize and have a radio button list to reference, preventing the null reference error I received.

Hope this helps cut down on someone else's debug time!
Jason

if (string.IsNullOrEmpty(teContent.Text))
{
teContent.Text = PHONE_NUMBER_REPLACEMENT_KEY;
}
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorhow to use it in my nodule?how to use it in my nodule?


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