Opened 13 years ago

Closed 13 years ago

#7851 closed New Feature (fixed)

AutoPostBack property required for CKEditor ASP.NET control

Reported by: Prashant Sabhnani Owned by: kaga
Priority: Normal Milestone: CKEditor 3.6.2
Component: Server : ASP.Net Version: 3.5.3
Keywords: Cc:

Description

At present there is no AutoPostBack property available for the CKEditor ASP.NET control to cause the control to automatically postback.

This property needs to be similar to the AutoPostBack property of the asp:TextBox ASP.NET control

Attachments (3)

7851.patch (2.4 KB) - added by kaga 13 years ago.
FirstUse.aspx (5.2 KB) - added by Wiktor Walc 13 years ago.
7851_v2.patch (2.4 KB) - added by kaga 13 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by Wiktor Walc

Version: 3.6.1 (SVN - trunk)3.5.3

Changed 13 years ago by kaga

Attachment: 7851.patch added

comment:2 Changed 13 years ago by kaga

Owner: set to kaga
Status: newreview

comment:3 Changed 13 years ago by Wiktor Walc

When trying the attached patch I've noticed that the following code is repeated twice in HTML source:

CKEditor_Init.push(function(){if(typeof CKEDITOR.instances['CKEditor1']!='undefined' || !
document.getElementById('CKEditor1')) return;var ckeditor = CKEDITOR.replace('CKEditor1',
{"htmlEncodeOutput" : true}); ckeditor.on('blur', function() {if(this.checkDirty()){javascript:setTimeout
('__doPostBack(\'CKEditor1\',\'\')',0); }});});

I've used a modified FirstUse sample.

Changed 13 years ago by Wiktor Walc

Attachment: FirstUse.aspx added

comment:4 Changed 13 years ago by Wiktor Walc

Status: reviewreview_failed

Changed 13 years ago by kaga

Attachment: 7851_v2.patch added

comment:5 Changed 13 years ago by kaga

Status: review_failedreview

Please check again. I fixed a few mistakes.

comment:6 Changed 13 years ago by Wiktor Walc

Status: reviewreview_passed

comment:7 Changed 13 years ago by Wiktor Walc

Milestone: CKEditor 3.6.2
Resolution: fixed
Status: review_passedclosed

Fixed with [7281].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy