【问题标题】:How to load a html file into a textbox?如何将html文件加载到文本框中?
【发布时间】:2017-04-23 18:26:03
【问题描述】:

我正在尝试在 asp.net 中创建一个 html 文本编辑器,为此我保留了一个 textarea 供用户编辑 html。我的要求是,当页面加载时,我需要在文本区域加载一个包含基本内容的默认页面。

【问题讨论】:

  • 是什么阻止你这样做?你在纠结什么?
  • 如何将 html 文件内容加载到文本框中

标签: jquery html asp.net


【解决方案1】:

我建议你使用 TinyMCE 并将其集成到 asp.net 中

更多信息可以在这里找到:

http://www.aspsnippets.com/Articles/RichTextBox-Example-using-Free-TinyMCE-Editor-in-ASPNet.aspx

【讨论】:

【解决方案2】:

我建议你使用 www.daniweb.com..这会更好或转到下面的链接

How to load the contents in the text file or the html codes in a html-file to a textarea by browsing it first?

【讨论】:

    猜你喜欢
    • 2022-10-17
    • 2012-03-25
    • 2011-06-06
    • 2011-10-27
    • 1970-01-01
    • 1970-01-01
    • 2012-03-20
    • 1970-01-01
    相关资源
    最近更新 更多