Reputation: 2215
So I have a module that allows a registered user to enter their subject matter. The feature I would like to add is when he posts the subject, the webpage renders the subject with a blank html module underneath it.
How do I go about doing this?
Upvotes: 0
Views: 360
Reputation: 8943
I am assuming you really want to use the HTML Editor, not the HTML module, check out my DNNSimpleArticle module for an example
http://dnnsimplearticle.codeplex.com/SourceControl/changeset/view/20228#83722
The basics are
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx" %>
<dnn:TextEditor ID="txtDescription" runat="server" Width="100%" Height="300px" />
Upvotes: 1