【问题标题】:Default button overrides the enter in a rich text control默认按钮覆盖富文本控件中的输入
【发布时间】:2012-02-06 16:28:52
【问题描述】:

我有一个分配了默认按钮的页面。但是,当我在带有 Ajax:HtmlEditorExtendor 的 TextBox 中按 Enter 键时,将提交表单。这是 Ajax 中的错误吗?有什么解决方法吗?谢谢。

【问题讨论】:

    标签: asp.net rich-text-editor defaultbutton


    【解决方案1】:

    听起来您的目标控件可能是单行文本框。尝试在您的目标文本框中为 html 编辑器设置 TextMode="MultiLine" 的属性,看看这是否会有所不同。

    【讨论】:

      猜你喜欢
      • 2011-05-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-06
      • 1970-01-01
      相关资源
      最近更新 更多