如何按Enter键上的弹出窗口添加按钮? [英] How to hit add button on popup on Enter press ?
本文介绍了如何按Enter键上的弹出窗口添加按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图按Enter键上的Modelpopup Extender上的Add按钮。
解决方案
hi,
将控件放在面板中,并将默认按钮指定为yourHitButton。
< asp:Panel ID =Panel1runat =服务器DefaultButton =yourButtonID>
<% - 您的内容(内部模式弹出式广告) - %>
< / asp:panel>
希望这会对你有帮助。
Am trying to hit the Add button on Modelpopup Extender on Enter Press .
解决方案
hi,
Put your controls inside a panel and specify default button as yourHitButton.
<asp:Panel ID="Panel1" runat="server" DefaultButton="yourButtonID"> <%--Your content(inside modal popup) --%> </asp:panel>
Hope this will help you.
这篇关于如何按Enter键上的弹出窗口添加按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文