wjj_123 你好,
前台代码:
- <script type="text/javascript">
- window.onload = function () {
- var spread = this.document.getElementById("FpSpread1");
- spread.onkeydown = test;
- }
- function test() {
- if (event.keyCode==13) {
- var spread = this.document.getElementById("FpSpread1");
- spread.CallBack("Button");
- }
-
- }
- </script>
复制代码
后台代码:
- protected void FpSpread1_ButtonCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
- {
- }
复制代码 |