Sharepoint模态对话框劫持回车键 [英] Sharepoint Modal Dialog hijacking the enter key
本文介绍了Sharepoint模态对话框劫持回车键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个sharpoint模式对话框,它表示一个页面,供用户输入一些信息。我需要输入键的能力像往常一样提供lf和cr,但是当按下它时会触发daialog的close事件。我如何解决这种行为?
I have a sharpoint modal dialog which surfaces a page for user input of some information. I need the ability for the enter key to provide the lf and cr as usual, but when pressed it fires the close event of the daialog. How do I get around this behavior?
推荐答案
找出我的问题。我错过了textmodemultiline。添加它,现在它工作正常。患有颅/直肠反转。
Figured out my problem. I was missing the textmode "multiline". Added it and now it works fine. Suffering from Cranial/Rectal Inversion.
这篇关于Sharepoint模态对话框劫持回车键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文