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 ExtensionsModulesModulesTextEditor ProblemTextEditor Problem
Previous
 
Next
New Post
12/15/2010 5:21 AM
 
I create a new module for the company I work for but I have a problem with the TextEditor control. I do not know how to access the text that the user has typed in the control. I can not find a property which will do the job that I want. Below you can see how I have used the control in my module.

<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx" %>
<dnn:TextEditor ID="txtDescription" runat="server" Width="550" Height="300"></dnn:TextEditor>

Can someone tell me how to get the text in order to save it in the database?
 
New Post
12/15/2010 6:49 AM
 
txtDescription.Text
 
New Post
12/15/2010 7:12 AM
 
I tried it but it does not work. It displayes the following error message when I try to compile the module.

'Text' is not a member of 'System.Web.UI.UserControl'.
 
New Post
12/15/2010 7:23 AM
 
Well then you should look for the error in something else, cause it should work.
 
New Post
1/13/2011 3:12 AM
 
I created a new module and when I tried to compile the default module which contains the TextEditor control and it worked fine. I replaced the YourCompany part of the namespace with my company name and I tried to compile it again I realized that the compiler could not recognize the text property of the editor. Can someone tell me what should I change in my project in order to fix this problem?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTextEditor ProblemTextEditor Problem


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