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  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Using the TextEditor in the settings user control
Previous Previous
 
Next Next
New Post 2/12/2008 7:30 AM
User is offline Simon Mason
54 posts
10th Ranked


Using the TextEditor in the settings user control 

Is is possible the use the dnn:TextEditor 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 4/4/2008 2:39 AM
User is offline Graham Barlow
6 posts
10th Ranked


Re: Using the TextEditor in the settings user control 

did you ever sort this problem?  I am having the same problem.

 

 
New Post 4/4/2008 5:05 AM
User is offline William Severance
732 posts
www.wesnetdesigns.com
7th Ranked






Re: Using the TextEditor in the settings user control 

Please see my post regarding a work around for this problem:

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...  HTML / Text Mo...  Using the TextEditor in the settings user control
 


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.

 


DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com
R2i - Delivering Serious DNN Services & Solutions
Award Winning Design, Skin construction, Custom Modules and Consulting Services for the Enterprise organization. R2i is the DNN:Map module Project Lead and one of the largest DNN service providers with offices in New York City, Virginia and Baltimore.
www.bi4ce.com
"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com

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