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

Creating HtmlEditorExtender from Codebehind....

$
0
0

Hi All,

I am creating a dynamic table with texboxes inside it being dynamically created in the code. Now I want to create AjaxControlToolkit.HtmlEditorExtender dynamically in the code itself and assign it to the respective textboxes whish are also dynamically created.

For that I set reference to the AjacControlToolkit.dll in my project and in the code wrote

AjaxControlToolkit.HtmlEditorExtender htmlEditorExtender = new AjaxControlToolkit.HtmlEditorExtender();

But when I tried to set other properties of the object "htmlEditorExtender" like ID and TargetControlID those were not enlisted in the intellisence and compiler was generating the error "AjaxControlToolkit.HtmlEditorExtender' does not contain a definition for 'ID' and no extension method 'ID' accepting a first argument of type 'AjaxControlToolkit.HtmlEditorExtender could be found(are you missing a reference or a using directive?)".

Kindly help me as I am not sure why are these properties of AjaxControlToolkit.HtmlEditorExtender is not coming.

I am using ASP.Net 4.0 with C# as the coding language.

Thanks in advance.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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