Opened 15 years ago
Closed 14 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)
Change History (10)
comment:1 Changed 15 years ago by
| Version: | 3.6.1 (SVN - trunk) → 3.5.3 |
|---|
Changed 15 years ago by
| Attachment: | 7851.patch added |
|---|
comment:2 Changed 15 years ago by
| Owner: | set to kaga |
|---|---|
| Status: | new → review |
comment:3 Changed 14 years ago by
Changed 14 years ago by
| Attachment: | FirstUse.aspx added |
|---|
comment:4 Changed 14 years ago by
| Status: | review → review_failed |
|---|
Changed 14 years ago by
| Attachment: | 7851_v2.patch added |
|---|
comment:5 Changed 14 years ago by
| Status: | review_failed → review |
|---|
Please check again. I fixed a few mistakes.
comment:6 Changed 14 years ago by
| Status: | review → review_passed |
|---|
comment:7 Changed 14 years ago by
| Milestone: | → CKEditor 3.6.2 |
|---|---|
| Resolution: | → fixed |
| Status: | review_passed → closed |
Fixed with [7281].

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.