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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


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
787 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.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

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