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 integrate with ASP.NetHow to integrate with ASP.Net
Previous
 
Next
New Post
9/19/2007 3:41 AM
 

I must be missing something basic, but i haven't been able to find any documentation. I'm writing a module in VWD Express and I want to use a rich text editor and bind it to my database.  I see that the FCKEditor dll is in the /bin in the 4.5.5 release, so I add it to the toolbox in VWD Express, it shows up as a control and I drag it on my .ascx page

 

<cc2:Fckeditor ID="Fckeditor1" runat="server" ></cc2:Fckeditor>

How do I configure it from here? If I compile and run this I get an "Object reference not set to an instance of an object." error. This is embedded in a FormView tag btw. Any tips on how to set this up? TIA

 

 
New Post
9/20/2007 10:08 AM
 

I don't know if this helps, but I just watched our developer drag "texteditor.ascx" to the page from the Solutions Explorer -> Controls (a folder there in the website) -> texteditor.ascx

 

 
New Post
9/20/2007 10:17 AM
 

I don't know if this helps, but I see our developer drag the "texteditor.ascx" onto the page. It is found (with the website open) in the Solution Explorer in the Controls folder.

 
New Post
9/20/2007 10:25 AM
 

DNN abstracts the Text Editor away from any specific implementation (FCK or FTB), so that the user can choose which one they want.  So, you should be using <%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%> to register the DNN control, and then use <dnn:TextEditor ID="txtDescription" runat="server" ></dnn:TextEditor>.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
9/22/2007 5:55 PM
 

Thanks, your advice worked. I ran into a problem with trying to bind text the way you would with a normal <asp:Texboxt>, if anyone is running into trouble with this create a new module from the Web Starter Kit http://www.adefwebserver.com/DotNetNukeHELP/DNN_Module4/ and study how they do it there.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorHow to integrate with ASP.NetHow to integrate with ASP.Net


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