Dear Sir
i use AspxTreeList From Devexpress and when i click an node i can get text in my CKEditor , but when i click Update button in aspxtreelist i got CKEditor in my code with Empty String
<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" AutoGenerateColumns="False" EnableTheming="True" KeyFieldName="ClinicalCareID" Theme="MetropolisBlue" ParentFieldName="ParentID" ClientInstanceName="HT" OnCustomDataCallback="ASPxTreeList1_CustomDataCallback" Width="100%" OnHtmlRowPrepared="ASPxTreeList1_HtmlRowPrepared" OnNodeDeleting="ASPxTreeList1_NodeDeleting" OnNodeUpdating="ASPxTreeList1_NodeUpdating"> <Columns> <dx:TreeListTextColumn FieldName="ClinicalCarePageTitle" VisibleIndex="0"> </dx:TreeListTextColumn> <dx:TreeListCommandColumn VisibleIndex="1"> <EditButton Visible="True"> </EditButton> <DeleteButton Visible="True"> </DeleteButton> </dx:TreeListCommandColumn> </Columns> <Settings ShowColumnHeaders="False" /> <SettingsBehavior AllowFocusedNode="True" ExpandCollapseAction="NodeDblClick" AllowDragDrop="False" FocusNodeOnLoad="False" /> <SettingsPager Mode="ShowPager"> </SettingsPager> <SettingsDataSecurity AllowInsert="False" /> <Styles> <FocusedNode Font-Bold="true" Font-Size="Small"> </FocusedNode> </Styles> <ClientSideEvents FocusedNodeChanged="function(s, e) {var key = HT.GetFocusedNodeKey();HT.PerformCustomDataCallback(key);}" CustomDataCallback="function(s, e) {CKEDITOR.instances.ckeditor.setData(e.result);}" /> </dx:ASPxTreeList> <br /> <table style="width: 100%;"> <tr> <td> <table style="width: 100%;"> <tr> <td style="border: 2px solid #0072C6; text-align: center; width: 150px; height: 35px;"> <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="New Main Sub Name:" Style="font-weight: 700"> </dx:ASPxLabel> </td> <td style="border: 2px solid #0072C6; height: 35px; text-align: center; padding-left: 5px;"> <dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Font-Bold="True" Font-Size="Small" Height="30px" Width="350px" ClientInstanceName="HH"> <ValidationSettings> <RequiredField ErrorText="You Must Enter Sub Name" IsRequired="True" /> </ValidationSettings> </dx:ASPxTextBox> </td> </tr> </table> </td> </tr> </table> <br /> <textarea id="ckeditor" name="ckeditor" class="ckeditor" cols="20" rows="2"></textarea>
C# Code To get ckeditor Text:
Request.Form["ckeditor"]
now when i click update i got ckeditor text empty and that becouse callback is enable in AspxTreeList and i need it becouase i use callback to get data in my ckeditor.
so how can i get ckeditor text when aspxtreelist doing callback , it work only if i disabale callback ?
can any one help here please
can any one help here please ?