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

Ajax Editor showing error

$
0
0

 

<cc1:Editor ID="txtEditor" runat="server"  CssClass="form-control" Width="100%" BackColor="WhiteSmoke" Height="400px" Font-Names="Comic Sans MS"/>

CODE

 protected void btnSubmit_Click(object sender, EventArgs e)
    {
        lblContents.Text = txtEditor.Text;
    }
}

ERROR

Error	21	'AjaxControlToolkit.HTMLEditor.Editor' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'AjaxControlToolkit.HTMLEditor.Editor' could be found (are you missing a using directive or an assembly reference?)	C:\Users\migold\Documents\Visual Studio 2013\WebSites\HORNTIMESITE\ComposeMail.aspx.cs	34	38	HORNTIMESITE(1)


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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