Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Ajax HTMLEditorExtender Does Not Seem To Work Within DetailsView EditItemTemplate or InsertItemTemplate. [27200]

$
0
0
I have tried to use an HTMLEditorExtender inside both EditItemTemplate and InsertItemTemplate in DetailsView. The Textbox does not render properly (wrong colors) and the buttons also do not render properly.

If I copy the Textbox and HTMLEditorExtender markup and paste them outside the DetailsView it all works fine.

The code is pretty simple:

<asp:TemplateField HeaderText="Problem" SortExpression="problem" HeaderStyle-Font-Bold="true" HeaderStyle-Wrap="false" >
<EditItemTemplate>
<asp:TextBox ID="ProblemText" runat="server" Text='<%# Bind("problem") %>' TextMode="MultiLine" Columns="100" Rows="14" CssClass="basic" />
<asp:HtmlEditorExtender runat="server" ID="ProblemTextHtml" DisplaySourceTab="true" TargetControlID="ProblemText" />
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="ProblemText" runat="server" Text='<%# Bind("problem") %>' TextMode="MultiLine" Columns="100" Rows="14" CssClass="basic" />
<asp:HtmlEditorExtender runat="server" ID="ProblemTextHtml" DisplaySourceTab="true" TargetControlID="ProblemText" />
</InsertItemTemplate>
<ItemTemplate>
<asp:Label ID="ProblemText" runat="server" Text='<%# Bind("problem") %>' />
</ItemTemplate>


I have attached two images; one where the Editor renders correctly outside the DetailsView and one rendered inside the DetailsView
Comments: Did someone gt this fixed? Have the same issue like the first file attachment

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>