come back to update my ckeditor and of course, the un-official asp.net control once again. Just need to thank you for all the efforts you spend on this project, excellent work. I almost gave up ckeditor, you are the day saver
RealPirate wrote:Thanks a lot for making this control. I liked it so far, but i am having a little problem using Shared Spaces thing. Could you explain how to make shared toolbar for 2 controls step by step. As far as i understand there are 4 values: SharedSpacesBottom, SharedSpacesBottomClientID , SharedSpacesTop, SharedSpacesTopClientID(filled automaticly) and a CKSharedSpace control. The best i've done is made CKSharedSpace control visible, but with no buttons, and i am run out of ideas
I have one issue: if I have a PostBacktrigger that is hit after a partial page update has been done, I get the following error:
"Line 19: error: object does not supprt property or method" at "return i&&new g(i.contentWindow.document)"
Any ideas? I have a attached a small project for reproducing the issue (you need to copy ckeditor to its base directory - was to huge for upload)
Thanks for your help, dpomt
I have the same issue here with an ASP.NET app. My structure is as follows:- Master Page containing UpdatePanel control. Content Page containing 3 CKEditor controls. The page causing the issue also has a file upload control. The LinkButton that fires the upload has to be registered with the MasterPage UpdatePanel to cause a full postback rather than async. I use
public void AddLinkButtonPostBack(LinkButton lnkbtn)
{
MasterScripts.RegisterPostBackControl(lnkbtn);
}
to register the LinkButton. The first time the button is clicked, I get the same error as above in IE. If you click the button a second time, it works.
If I try Firefox, the error console lists the error as i.contentWindow is null
I don't have any problems with other pages that use the same structure. It's only this one page that has a FileUpload control.
I have a problem with the parameters which are Decimal type. F.x. I have have: Dialog_BackgroundCoverOpacity="0.5", but since my culture for the website is da-DK, this gets output as 0,5 in the JS, which ofc. makes CKE not to work. (We use , as decimal separator) Any chance, this could some how be fixed, so the .NET control always prints out JS in en-US culture? (Without me changing the webpages culture.)
Hello danielgindi, The newest version of the control and the editor (3.5.1) Doesn't work probably with updatepanels..
Well in general it seems to fail, sometimes the "editor area" is gone, and it is just blue (the color of the rest of the editor). And other times it f***s with the content, like: "<td> <strong>Mest læste nyheder</strong></td> </tr> "
Reonekot wrote:First, thanks for this .NET control!
I have a problem with the parameters which are Decimal type. F.x. I have have: Dialog_BackgroundCoverOpacity="0.5", but since my culture for the website is da-DK, this gets output as 0,5 in the JS, which ofc. makes CKE not to work. (We use , as decimal separator) Any chance, this could some how be fixed, so the .NET control always prints out JS in en-US culture? (Without me changing the webpages culture.)
cause i just tested the 'official' control and no way it works as nicely as yours, gives me more problems... (eg white page to begin with)
oh and i noticed the your 3.5.2 control, when ever i have a postback on the page, my editor flashes to the html mode and then it goes away.... this has not happened before in the older releases
@sync - in case of any troubles with the "official" ASP.NET control, please let us know and describe in details the problems you have experienced.
We did our best to make it as easy to integrate as possible, so if you see any problems, we'd really appreciate any tips what else could be improved. Thanks in advance!
cause i just tested the 'official' control and no way it works as nicely as yours, gives me more problems... (eg white page to begin with)
oh and i noticed the your 3.5.2 control, when ever i have a postback on the page, my editor flashes to the html mode and then it goes away.... this has not happened before in the older releases
Yes the HTML code is showing before leaving the page, because the older way of destroying the CKE by JS was not available anymore since CKE 3.5, it caused JS errors. So I had to revert to the 'official' method of destroying a CKE instance. I hope that we will find a better solution soon. I think that we will concentrate all efforts now on the official control, and try to solve all problems there
sweet as, i'll start integrating the 'official' control in the up coming weeks
2 questions i would like to ask
1. how can you specify custom config file at code behind of a page 2. do we need to set a base path where ck folder is stored as like your control (documentation does not say)
Can you please say what browser & ver you are using? Also, please check if somehow MsAjax is trying to access from another domain and browser's security prevents access.
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Just need to thank you for all the efforts you spend on this project, excellent work. I almost gave up ckeditor, you are the day saver
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: Issue when PostBackTrigger is used
Sorry, can't reproduce... I remember a similar bug with FireFox, a few versions ago... Are you using firefox?
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Attachments:
Re: Issue when PostBackTrigger is used
Issue happens here with IE 8.0.7600.16385.
Works without error in Firefox 3.6.19
Did you try to reproduce it with IE 8?
Re: Issue when PostBackTrigger is used
Re: Issue when PostBackTrigger is used
I have the same issue here with an ASP.NET app. My structure is as follows:-
Master Page containing UpdatePanel control.
Content Page containing 3 CKEditor controls.
The page causing the issue also has a file upload control. The LinkButton that fires the upload has to be registered with the MasterPage UpdatePanel to cause a full postback rather than async. I use
public void AddLinkButtonPostBack(LinkButton lnkbtn) { MasterScripts.RegisterPostBackControl(lnkbtn); }to register the LinkButton.The first time the button is clicked, I get the same error as above in IE. If you click the button a second time, it works.
If I try Firefox, the error console lists the error as i.contentWindow is null
I don't have any problems with other pages that use the same structure. It's only this one page that has a FileUpload control.
I can post more code if required.
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
how do i use the bugger?
<FredCK></FredCK> is clearly a fail
thanks for any advice
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
<FredCK:CKEditor ID="FCKeditor1" runat="server">
</FredCK:CKEditor>
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
My ckeditor is on an UpdatePanel and the Page has MasterPage.
Thanks for any advice
P.D.: Sorry about my english
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
http://www.qdrive.net/qdriver/file/2066 ... d8802e8e2d
http://www.qdrive.net/qdriver/file/2066 ... 15ec7fd6bchttp://www.qdrive.net/qdriver/file/2066 ... 536fd790de
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
I have a problem with the parameters which are Decimal type. F.x. I have have: Dialog_BackgroundCoverOpacity="0.5", but since my culture for the website is da-DK, this gets output as 0,5 in the JS, which ofc. makes CKE not to work. (We use , as decimal separator) Any chance, this could some how be fixed, so the .NET control always prints out JS in en-US culture? (Without me changing the webpages culture.)
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
The newest version of the control and the editor (3.5.1)
Doesn't work probably with updatepanels..
Well in general it seems to fail, sometimes the "editor area" is gone, and it is just blue (the color of the rest of the editor).
And other times it f***s with the content, like:
"&amp;amp;lt;td&amp;amp;gt; &amp;amp;lt;strong&amp;amp;gt;Mest l&amp;amp;amp;aelig;ste nyheder&amp;amp;lt;/strong&amp;amp;gt;&amp;amp;lt;/td&amp;amp;gt; &amp;amp;lt;/tr&amp;amp;gt; "
Any ideas?
Best Regards,
Jeppe
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
CK3.5.1_3.5.zip
http://localhost:2630/CK3.5.1/ckeditor/ckeditor.js
http://localhost:2630/CK3.5.1/ckeditor/ckeditor.js
http://localhost:2630/CK3.5.1/ckeditor/ckeditor.js
http://localhost:2630/CK3.5.1/ckeditor/ckeditor.js
Attachments:
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
the official .net control being out an all, how different is it from that one and the one you built here?
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
cause i just tested the 'official' control and no way it works as nicely as yours, gives me more problems... (eg white page to begin with)
oh and i noticed the your 3.5.2 control, when ever i have a postback on the page, my editor flashes to the html mode and then it goes away.... this has not happened before in the older releases
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
We did our best to make it as easy to integrate as possible, so if you see any problems, we'd really appreciate any tips what else could be improved. Thanks in advance!
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Yes the HTML code is showing before leaving the page, because the older way of destroying the CKE by JS was not available anymore since CKE 3.5, it caused JS errors. So I had to revert to the 'official' method of destroying a CKE instance.
I hope that we will find a better solution soon.
I think that we will concentrate all efforts now on the official control, and try to solve all problems there
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
2 questions i would like to ask
1. how can you specify custom config file at code behind of a page
2. do we need to set a base path where ck folder is stored as like your control (documentation does not say)
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
http://www.somewebsite.org
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
http://localhost:4423/CK3.5.2/ScriptRes ... ffbd2983fc
http://localhost:4423/CK3.5.2/ScriptRes ... ffbd2983fc
CK3.5.2_4.0.zip
http://ajaxcontroltoolkit.codeplex.com/ ... dId=116534
Attachments:
Re: CKEditor Asp.Net Server Control! - CKE 3.5 update
Also, please check if somehow MsAjax is trying to access from another domain and browser's security prevents access.