Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

HTMLEditorExtender's CreateLink does not work

$
0
0

Hi all,

I need some help today. On my web form, I created an interactive textbox with the HTMLEditorExtender component.

This Textbox is included into a Table, which is filled dynamically with some rows and cells.

My problem is that whenever I click onto the CreateLink button of my toolbar, nothing happens.

I expect, as in the demo website, a popup appears on the screen and into which one I can write my hyperlink.

I don't understand why this does not work, here is my design code : 

<asp:Table runat="server" ID="tableSimpleComponents" Width="100%" HorizontalAlign="Center"></asp:Table>

And here is my code-behind :

Dim row As New TableRow
Dim cellValue As New TableCell
Dim itemCol As New TextBox()
With itemCol
   .ID = nameField
   .Height = 150
   .Columns = "100"
   .TextMode = TextBoxMode.MultiLine
End With
Dim ajaxEditor As New AjaxControlToolkit.HtmlEditorExtender
With ajaxEditor
   .ID = "ajaxEditor" + itemCol.ID
   .TargetControlID = itemCol.ID
End With
cellValue.Controls.Add(itemCol)
cellValue.Controls.Add(ajaxEditor)
row.Controls.Add(cellValue)
tableSimpleComponents.Controls.Add(row)


Thank you for helping.

Regards,


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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