Forum  Community Devel...  Using the FCKEd...  FCKEditor.Value not updating
Previous Previous
 
Next Next
New Post 6/25/2009 5:48 AM
  ori.cohen
4383 posts
1st Level Poster




Re: FCKEditor.Value not updating 
Modified By ori.cohen  on 6/25/2009 7:52:44 AM)

Hello Danny,

The application does exactly what you ask it to.
Whenever you set the content of the right side of the screen you clear all the contents of the right side panel and add a new UserControl with a new object of the FCKEditor type.
The new FCKEditor would obviously contain the default value, as that is the value set to it when it is loaded.

To add to that, the only text you save to the _text UseControl System.String member is the value sent to the constructor, which is hardcoded "<p>initial text</p>".

Also, pressing the Save button, only validates the value of the FCKEditor and displays it in a MessageBox but does not save it anywhere.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 6/25/2009 6:48 AM
  danny.degroot
3 posts
No Ranking


Re: FCKEditor.Value not updating 

Hi,

Yes it's a hardcoded value and it doesnt get saved anywhere, i set it up like that to keep the example simple and clear in the actual application the initial value is retrieved from a database and after editing it gets stored in a database.

Your response implies that i wanted to maintain the changed value after changing the right side, this is not the case.

Please do the following:

  1. Start the application
  2. Open the FCK editor by clicking on the "FCK Editor" button
  3. Change the text inside the FCK editor control and press the "Save Text" button
  4. Note that the value of the FCK editor control is now the changed value and not the initial value
  5. So far so good, now open the introduction page by clicking on the "Intro" button
  6. Open the FCK editor again by clicking on the "FCK Editor" button
  7. At this point the FCK editor control should behave exactly the same as it did the first time it was loaded
  8. Add a breakpoint on line 46 in BaseForm.cs - rightPanel.Controls.Add(control);
  9. Change the text inside the FCK editor control again and press the "Save Text" button
  10. The application doesnt break on the breakpoint that we set so the value of the FCK editor control doesnt get changed to the initial value
  11. Now the value from the FCK editor control is still the initial value not the changed text

 

 
New Post 6/25/2009 8:27 AM
  ori.cohen
4383 posts
1st Level Poster




Re: FCKEditor.Value not updating 

Hello Danny,

Sorry about the misunderstanding.

I'm not sure how I missed that.

I created a new issue on the subject.
Please view it here and track our progress.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 7/9/2009 10:58 AM
  jiman14
1 posts
No Ranking


Re: FCKEditor.Value not updating 

Hello,

I have the same problem. I can update the FCKEditor.Value property only the first time, after that the FCKEditor seems broken (internally) and doesn't update the property any more. I think that is a serious bug, because the FCKEditor doesn't work. Could you recomend any alternative?

Sorry for my english...

RL

 
New Post 7/10/2009 6:47 PM
  palli
11194 posts
1st Level Poster




Re: FCKEditor.Value not updating 

Hi RL and welcome to the forums,

When we write issues and we know of a workaround, they are added to the issues. So, I'm sorry to say that none was suggested in this case. Not for the FCKEditor control at least.

You could go for wrapping any ASP.NET texteditor control and see if you can make it work. One such free control is addressed in this issue here, and the problems with using it after wrapping have been fixed, so it should be usable. To learn how to use the wrapper, you can view this article here, as well as this walkthrough here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Community Devel...  Using the FCKEd...  FCKEditor.Value not updating
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS