Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  FCKeditor Provi...  Using the FCK in the Module Setting UserControl
Previous Previous
 
Next Next
New Post 2/12/2008 9:36 AM
User is offline Simon Mason
54 posts
10th Ranked


Using the FCK in the Module Setting UserControl 

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 v13wstat3 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 4:43 PM
User is offline Michael Abramovitch
2 posts
10th Ranked


Re: Using the FCK in the Module Setting UserControl 

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 5:41 PM
User is offline William Severance
847 posts
www.wesnetdesigns.com
7th Ranked






Re: Using the FCK in the Module Setting UserControl 

Please see my post at: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/210616/scope/posts/Default.aspx


Bill, WESNet Designs
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  FCKeditor Provi...  Using the FCK in the Module Setting UserControl
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP