Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!, I am having issue when trying to use the HTMLEditorExtender inside the Ajax Accordion pane. When I add HTMLEditorExtender and target a textbox that is inside the Accordion it shows me a long vertical line when I run it, however the control works fine if it is outside the Accordion.

here is my code
<cc1:Accordion Width="100%" ID="Accordion1"  runat="server" HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
                          ContentCssClass="accordionContent" SelectedIndex="-1" FadeTransitions="true" SuppressHeaderPostbacks="true"
                          TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" AutoSize="None" style="text-align:center;"
                          Height="515px">
                              <Panes>
                                  <cc1:AccordionPane ID="AccPan1"   runat="server">
                                      <Header>
                                           <table width="100%" border="0" cellspacing="2" cellpadding="2">
                                          <tr>
                                              <td style="color:#3B8DBD;text-align:left;">
                                                  Comments:
                                              </td>
                                          </tr>
                                      </table>
                                      </Header>
                                      <Content>
                                          <asp:TextBox TextMode="MultiLine" runat="server" Visible="true" Width="80%" Height="100px" ID="txtComments">
                                          </asp:TextBox>
                                          <cc1:HtmlEditorExtender  runat="server" TargetControlID="txtComments" ID="HtmlEditorExtender1">
                                          </cc1:HtmlEditorExtender>
                                          <div style="text-align:right">
                                              <asp:Button runat="server" Id="btnSaveComments" Text="Save" style="margin:5px 110px 0px 0px;" OnClick="btnSaveComments_Click"/>
                                          </div>
                                      </Content>
                                  </cc1:AccordionPane>
                              </Panes>
                          </cc1:Accordion>



Can you please assist on this one.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900