按CTRL + S保存Asp.NET表单 [英] Save Asp.NET Form by pressing CTRL+S

查看:106
本文介绍了按CTRL + S保存Asp.NET表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过按CRTL + S来实现此方法来保存表单。我没有任何代码。建议我一些想法。我不能在浏览器中进行交叉方法。

how can i implementing this method to save the form by pressing the CRTL+S. I dnt have any code. Suggest me some idea. Iam not able do cross method in browser.

推荐答案

你不应该使用Ctrl + S,因为它会破坏标准的浏览器行为,因为它会用于保存页面为HTML。我建议你有一些像链接按钮这样的控件,并在点击时做你想做的一切。用户界面不应包含任何隐藏或非显而易见的操作。



-SA
You should not use Ctrl+S, because it would disrupt the standard browser behavior, as it is used for saving the page as HTML. I would recommend you to have some control like link button and do all you want on its click. The UI should not contain any hidden or non-obvious actions.

—SA


Refer - 如何将快捷键设置为asp.net? [ ^ ]。
Refer- how to set shortcut keys into asp.net?[^].


可以查看以下链接



http://stackoverflow.com/questions/93695/best-cross-browser-method-to- capture-ctrls-with-jquery



http://www.gmarwaha.com/blog/2009/06/16/ctrl-key-combination-simple-jquery-plugin/ [< a href =http://www.gmarwaha.com/blog/2009/06/16/ctrl-key-combination-simple-jquery-plugin/ta rget =_ blanktitle =新窗口> ^ ]



希望这可以帮助你...
Can check the below links

http://stackoverflow.com/questions/93695/best-cross-browser-method-to-capture-ctrls-with-jquery

http://www.gmarwaha.com/blog/2009/06/16/ctrl-key-combination-simple-jquery-plugin/[^]

Hope this helps you...


这篇关于按CTRL + S保存Asp.NET表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆