你好,
据我所知,ajaxtoolkit的edit控件并没有Text属性。
只有content.
所以我建议你可以参照如下代码修改你的代码:
protected void btnSubmit_Click(object sender, EventArgs e)
{
lblContents.Text = txtEditor.Content;
}
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.