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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesFCK Editor in a module returns a blank value? What is the answerFCK Editor in a module returns a blank value? What is the answer
Previous
 
Next
New Post
4/22/2010 9:06 AM
 

Hello DNN World,

I've searched under countless forum entries for the FCK Editor returning a blank value when submitting a form (some as recent as a week ago). Many of the answers indicate that this is an issue with the module being in an ajax update panel. However, it's not clear on how to resolve this. In DNN 5 you cannot switch of Ajax as per some of the previous discussions so what do we need to do? If you know how to do this please let me know!!!

I've read the article where we are trying to complete a full postback, so we have the code

 

The code steps through this when debugging, but again, no luck, we're still getting a blank value.

So the code we have is

<li> 
 
<asp:Label runat="server" ID="lblBody" AssociatedControlID="txtBody" Text="Body" /> 
 
<dnn:TextEditor id="txtBody" runat="server" width="500" Height="300"/> 
 
</li>

And the code behind simply does the following

_article.Body = txtBody.RichText.Text;

 

 

protected void Page_Init(object sender, EventArgs e){
if (DotNetNuke.Framework.AJAX.IsInstalled())Control cmdUpdate = Parent.TemplateControl.FindControl("btnSubmit");
if (cmdUpdate != null) DotNetNuke.Framework.AJAX.RegisterPostBackControl(cmdUpdate); }

Cheers

From a frustrated Karl......... 

 
New Post
4/23/2010 3:08 PM
 

Ok, this was my fault and the problem was that the submit button I had did not have a on click event handler.

Think this one gets chalked up as a school boy error.

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesFCK Editor in a module returns a blank value? What is the answerFCK Editor in a module returns a blank value? What is the answer


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