Forum  General Visual ...  Announce It! ( ...  CKEditor for Visual WebGui
Previous Previous
 
Next Next
New Post 6/30/2011 4:39 PM
  palli
14334 posts
1st Level Poster




Re: CKEditor for Visual WebGui 

Hi Joe,

Let's try this before we take this further. The TabControl has optimization settings, set by the TabControl.ClientMode.

By default, this property is set to MemoryOptimized, which effectively means that every time you switch to another Tab of your TabControl, the contents of the Tab are removed from the browser. I think this would explain a lot of the behaviour you are experiencing.

Try setting TabControl.ClientMode to DrawingOptimized, which does the opposite, it minimizes the effort in redrawing the control when you next visit the Tab, meaning it's resources are kept in the browser.

I think this may explain most, if not all of your problems.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/30/2011 7:37 PM
  jharmon@blinfo.com
853 posts
1st Level Poster




Re: CKEditor for Visual WebGui 

Palli,

That was the problem.  Once I changed the setting to DrawingOptimized it started working correctly.  I guess I am confused as to why I have never heard of this option before.  How do I learn about all of these optimization features?  Is this the preferred setting for all tab controls (DrawingOptimized)?  What other optimization features do I NOT know about and how do I find out about them?

Thanks for your help...


Thanks, Joe
 
New Post 7/3/2011 9:08 AM
  palli
14334 posts
1st Level Poster




Re: CKEditor for Visual WebGui 

Hi Joe,

Glad it worked for you. Most of the time, saving browser resources is more important than the time it takes to redraw the TabPage's contents, and in most cases you will not get an effect like this except for rare cases. This is why the default is MemoryOptimized, but this has been known in the past to fix similar reloading problems on HtmlBox controls for instance, which were caused by the reloading.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/19/2011 12:27 PM
  matthiasdegroot
6 posts
No Ranking


Re: CKEditor for Visual WebGui 
Hello, I am still having an issue with it. After long debugging, I traced it down to something simple: when the HTML is reloaded (eg by F5), the control no longer works. Nomatter what C# function you call on server side, the client CKEditor never is updated again. Most probably because CKEditor_Instanciate() is called on pressing F5. The next Javascript functions in the CKEditorSkin.CKEditor.Global.js tries to locate the CKEditor control in the browser (CKEditor_GetDocumentNode()), and find it but mobjCKEditor is become undefined. This is probably also the original problem of the tabpage with DrawingOptimized: it does not cause a reload, so it works. In MemoryOptimized, a reload is made and the instance becomes undefined in Javascript. If you want, I can send my test application.
 
New Post 12/19/2011 12:28 PM
  matthiasdegroot
6 posts
No Ranking


Re: CKEditor for Visual WebGui 

Sorry for ugly posting, apparent when working in "Basic text box", enters are dropped Switching to RTF view...

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Announce It! ( ...  CKEditor for Visual WebGui
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS