danielgindi wrote:I've tested again with .Net 3.5 and Firefox 3.6.3 (latest) - and everything seems to be fine... But still, the AjaxControlToolkit.dll you are working with is compiled for 4.0, and it is most likely that the combination of Firefox with some difference in Ajax's rendering is what's making all the noise...
Right now I can't reproduce the problem on my machine so this is quite a problem...
have just resent you a 3.5 version (too many folders got confused sorry)
serializer wrote: Sync's ckfilemanager also looks very interesting, I was after something like this. I'm also using an MS SQL database (using Linq to perform all of my querying). I'll have a look at the code and see if I can make it use a provider interface (so you could attach any data layer you liked!)
sync wrote: 5. if you have alot of contents inside the editor which creates a scroll bar on the side, if you click the scroll bar, it creates this error... Error: uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: http://somewebsite.com/ckeditor/ckeditor.js :: C :: line 88" data: no]
alfonsoml wrote:That's http://dev.fckeditor.net/ticket/5782 Make sure to test the nightly after a patch is applied to verify that the 3.3.1 version has these little bugs fixed.
alfonsoml wrote:I said that you should test it after a patch is applied to the code. Currently it has a proposed patch, but we must test that it works as expected.
my bad, in that case i'll wait for the next release
update panel dose not work with .net 2 ajax and after update with ajax CKEDITOR comes to a simple TEXTAREA with passed value. but it works in .net 3.5 ajax any help?
By "which control you are using" - I referred to the UPLOAD control. Because, in case you haven't noticed, CKE do NOT offer native upload functionality. You need to create a "connector" which talks to a server side handler, and configure CKE to use that connector.
when user inserts a picture and does a postback(save the article) the usercontrol containing the ckeditor disappears. It doesn't matter if the user types the path to an image manually or browses through file browser, and it only happens in chrome 5(latest versions of ie, opera and firefox are doing fine).
when user inserts a picture and does a postback(save the article) the usercontrol containing the ckeditor disappears. It doesn't matter if the user types the path to an image manually or browses through file browser, and it only happens in chrome 5(latest versions of ie, opera and firefox are doing fine).
I can't understand your problem. I'm working ONLY with chrome, dev channel, and using cke on all sorts of forms, and my cke never disappears because of an image... please post a sample project (without removing any cke files or dlls)
when user inserts a picture and does a postback(save the article) the usercontrol containing the ckeditor disappears. It doesn't matter if the user types the path to an image manually or browses through file browser, and it only happens in chrome 5(latest versions of ie, opera and firefox are doing fine).
I can't understand your problem. I'm working ONLY with chrome, dev channel, and using cke on all sorts of forms, and my cke never disappears because of an image... please post a sample project (without removing any cke files or dlls)
I've found the culprit, it seems that fred's ckeditor does a full page reload after image insert(IsPostBack = false), and I was doing some page resetting(myUserControl = null) in the !IsPostBack code, so it disappeared. Why does a full page reload happen when inserting image I don't know, at most it should do a postback but this I don't get...
Can anyone confirm whether the 'OK' button on Image properties(when inserting picture) causes the page to reload in Chrome 5? To me it only happens in Chrome, all other browsers just insert the image in the article. And it's not a postback that occurs but a full page reload...
vani wrote:Can anyone confirm whether the 'OK' button on Image properties(when inserting picture) causes the page to reload in Chrome 5? To me it only happens in Chrome, all other browsers just insert the image in the article. And it's not a postback that occurs but a full page reload...
Is there a function I can put a breakpoint on, to see what's going on after pressing the OK button(or Cancel for that matter) on the image insert form?
I have a page whose lifecycle is roughly as follows:
1. Initial Load (create instance of CKEditor, numerous other form controls) 2. Submit (AJAX Postback; save contents; display message (new Panel), CKEditor instance not rendered because a Panel containing it has been set Visible false) 3. LinkButton to AJAX Postback again (serves as a "copy what I just did but take me to the edit page so I can make changes before submitting" function)
1. and 2. work fine, but when I click the LinkButton in step 3, I get a javascript error: i.contentWindow is null [Break on this error] if(!A.equals(B)&&A.$.frameElement){var...disable:function(){this.setState(0); ckeditor.js (line 19)
and it aborts the postback
I think I can work around this by constructing a URL to pass parameters via GET, so the link is not a linkbutton but an actual hyperlink and therefore there's no postback, but it is annoying to have to do so.
I compiled the asp.net server control available in this thread and added it to a asp.net application I am developing - it launches fine. What I'm not sure how to do is capture when someone clicks on the save button in ckeditor so that I can perform a LINQ-to-SQL update of the content to the back-end db. Suggestions? Thanks, Dave.
Re: Asp.Net Server Control! - CKE 3.3 update
have just resent you a 3.5 version (too many folders got confused sorry)
Re: Asp.Net Server Control! - CKE 3.3 update
http://forums.asp.net/t/1345832.aspx
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Have made Asp.Net Server Control!
http://dev.fckeditor.net/ticket/5782
Re: Have made Asp.Net Server Control!
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
my bad, in that case i'll wait for the next release
Re: Asp.Net Server Control! - CKE 3.3 update
update panel dose not work with .net 2 ajax and after update with ajax CKEDITOR comes to a simple TEXTAREA with passed value.
but it works in .net 3.5 ajax
any help?
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Re: Asp.Net Server Control! - CKE 3.3 update
Because, in case you haven't noticed, CKE do NOT offer native upload functionality. You need to create a "connector" which talks to a server side handler, and configure CKE to use that connector.
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
http://ckfilemanager.codeplex.com/
Re: Asp.Net Server Control! - CKE 3.3 update
when user inserts a picture and does a postback(save the article) the usercontrol containing the ckeditor disappears.
It doesn't matter if the user types the path to an image manually or browses through file browser, and
it only happens in chrome 5(latest versions of ie, opera and firefox are doing fine).
Re: Asp.Net Server Control! - CKE 3.3 update
I can't understand your problem.
I'm working ONLY with chrome, dev channel, and using cke on all sorts of forms, and my cke never disappears because of an image... please post a sample project (without removing any cke files or dlls)
Re: Asp.Net Server Control! - CKE 3.3 update
I've found the culprit, it seems that fred's ckeditor does a full page reload after image insert(IsPostBack = false), and I was doing some page resetting(myUserControl = null) in the !IsPostBack code, so it disappeared.
Why does a full page reload happen when inserting image I don't know, at most it should do a postback but this I don't get...
Sample code to get started
Re: Asp.Net Server Control! - CKE 3.3 update
Make sure you have specified your CKE folder in the control attribute, or in the app config.
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
To me it only happens in Chrome, all other browsers just insert the image in the article.
And it's not a postback that occurs but a full page reload...
Re: Asp.Net Server Control! - CKE 3.3 update
It does not cause a postback in my chrome 5..
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
https://docs.google.com/leaf?id=0B3Zuqq9kTSqzZTI3NmRhNDAtYmYxZi00NDQ5LWI5MGQtNjBiNzg0MWZmYmFi&hl=en
Re: Asp.Net Server Control! - CKE 3.3 update
1. Initial Load (create instance of CKEditor, numerous other form controls)
2. Submit (AJAX Postback; save contents; display message (new Panel), CKEditor instance not rendered because a Panel containing it has been set Visible false)
3. LinkButton to AJAX Postback again (serves as a "copy what I just did but take me to the edit page so I can make changes before submitting" function)
1. and 2. work fine, but when I click the LinkButton in step 3, I get a javascript error:
i.contentWindow is null
[Break on this error] if(!A.equals(B)&&A.$.frameElement){var...disable:function(){this.setState(0);
ckeditor.js (line 19)
and it aborts the postback
I think I can work around this by constructing a URL to pass parameters via GET, so the link is not a linkbutton but an actual hyperlink and therefore there's no postback, but it is annoying to have to do so.
Re: Asp.Net Server Control! - CKE 3.3 update
Re: Asp.Net Server Control! - CKE 3.3 update
Thanks,
Dave.
Re: Asp.Net Server Control! - CKE 3.3 update
http://npcs2k7.110mb.com/CK_editor_.zip
http://www.codeproject.com/KB/edit/CK_EDITOR.aspx
Re: Asp.Net Server Control! - CKE 3.3 update