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 ForumsFCKeditorFCKeditorUsing the FCK in the Module Setting UserControlUsing the FCK in the Module Setting UserControl
Previous
 
Next
New Post
2/12/2008 12:36 PM
 

I just posted this thread in the Text/HTML and realised that his forum is more appropriate this queston. sorry

Is is possible the use the dnn:TextEditor (FCK) in the settings user control?

My dnn:TextEditor work fine within my module, but for some reason when I place the dnn:TextEditor on the setting user
control and select update DNN will not save new html data.

If the TextEditor (FCK) is set to 'Basic Text Box' when selecting update it will save my data, but if the TextEditor is set to 'Rich Text Editor' and then select update, it will save the data it was assigned in LoadSettings() But, If I have a postback event (add a asp:Button) without any event attached to it and press the asp:button before selecting 'update' the updated HTML from the dnn:TextEditor  will be saved.

It seems to be grabbing the data from the viewstate or something but can't work it out.

any ideas on how to solve this?

Many thanks for any assistance.
Simon

VB:
Public Overrides Sub LoadSettings()
            Try
                If (Page.IsPostBack = False) Then
                    Dim te As New DotNetNuke.UI.UserControls.TextEditor()
                     te = FindControl("txthtml")
                    te.Text = CType(TabModuleSettings("html"), String)
                End If
            Catch exc As Exception           'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
        End Sub
  
   Public Overrides Sub UpdateSettings()
            Try
                objModules.UpdateTabModuleSetting(TabModuleId, "html", Me.txthtml.Text)
            Catch exc As Exception           'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
        End Sub
  
ASCX Page:
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<dnn:TextEditor ID="txthtml" runat="server" Height="350px" Width="100%"  />

 
New Post
3/17/2008 6:43 PM
 

That is exactly the same problem I am having with it.   In a module Settings user control. 

Did you find a solution for this yet ?

 

 
New Post
3/17/2008 7:41 PM
 

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorUsing the FCK in the Module Setting UserControlUsing the FCK in the Module Setting UserControl


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