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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0TextEditor into partial rendering module !TextEditor into partial rendering module !
Previous
 
Next
New Post
9/27/2007 7:35 AM
 

I'm creating some module and since I enabled the Partial rendering and created updatepanels, the TextEditor does not postback the value of the newly edited control, but postbacks the original value over and over  -> I Checked the Request.Form values only the original value of the text editor is in the form values.

Any idea of what I Can do ? I removed the control from the DetailView it was and put it outside that one, and the problem is the same.

Furthermore DetailView and DataGrids in partial renderings does not set the IsPostBack value of the control where he is to true (it doesn't help much :-))) .

So any suggestion is welcome :-)

Thanks

 

Laurent

 
New Post
10/2/2007 8:14 PM
 

Latest version of FCKeditor provider does not support MS AJAX at this moment by itself. It needs a workaround with some simple javascript.

A this moment, I am trying to test all scenarios to enable ajax support into it, but it will take some time from now.

The workaround is here (Not for novices):

http://jlcoady.net/archive/2007/03/30/fckeditor-work-inside-updatepanel

 


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
10/10/2007 5:15 AM
 

Could work... In my case it doesn't.. But I guess I got the  point, update the value of the texteditor before submitting :-)

It seems that the function specified in the Page.ClientScript.RegisterOnSubmitStatement is not called. But it is initialized through a postback as it comes from a DetailView control when I want to edit it. Is it required to call that function the first time we load the page ? (without ajax postback ?) ?

 
New Post
10/10/2007 6:04 AM
 

Oki, I managed some other javascript to call your function when I updated the detailview...

FCKeditorAPI.GetInstance(id).UpdateLinkedField();

But this gives an error... bouhhh !!! I even tryed to put the editor outside the detailview same result...

 

 
New Post
10/10/2007 8:11 AM
 

{

function FCKUpdateLinkedField(id)

 

for ( var i = 0; i < parent.frames.length; ++i )

if ( parent.frames[i].FCK )

parent.frames[i].FCK.UpdateLinkedField();

}

 

This one works better, as mentioned on the FCKEditor.NET site  :-)

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0TextEditor into partial rendering module !TextEditor into partial rendering module !


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