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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Is it possible to include a FreeTextBox in a DNN ModuleIs it possible to include a FreeTextBox in a DNN Module
Previous
 
Next
New Post
9/12/2012 1:01 PM
 

Hi all,

I'd like to add a FreeTextBox (http://www.freetextbox.com/) to a module so I can allow my users to style their text.  Has anyone done this successfully?  I've added one to a regular .net web page but not a DNN module.

Also, I'm open to alternatives like the default DNN content editor. 

Tips and suggestions greatly appreciated.

Thanks,

Mark

 
New Post
9/12/2012 3:05 PM
 

I'd recommend using the user specified editor provider. This way you let your users choose what they want for editing.

Just add to your user control:

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

Then add the control to the form:

<dnn:texteditor id="txtContent" runat="server" height="400" width="100%"></dnn:texteditor>

Refer to it in the code behind:

txtContent.Text.ToString()

 
New Post
9/12/2012 4:06 PM
 
FreeTextBox used to be DNN default HTML editor in DNN 2 and 3, but got substituted by FckEditor, which had better features. Default richtext editor now is Telerik RAD, but there is also an excellent provider for CKEditor (successor of FCK), you may download for free from http://dnnckeditor.codeplex.com.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/12/2012 6:57 PM
 
Patrick, Sebastion.

Thanks for the tips. I'll be sure to check them out!

Mark
 
New Post
9/13/2012 9:07 AM
 
Patrick,

I can't compile my module because it's generating the following error:

"'System.Web.UI.UserControl' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.Web.UI.UserControl' could be found (are you missing a using directive or an assembly reference?)"

When I look through the DNN install files, I see the exact same code being used on core pages and they too have the same error although I don't attempt to compile the entire site.

What am I missing to make this work?

Thanks,
Mark
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Is it possible to include a FreeTextBox in a DNN ModuleIs it possible to include a FreeTextBox in a DNN Module


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