找回密码
 立即注册

QQ登录

只需一步,快速开始

wangxuemeicheny

主题

帖子

积分

积分
  • 金币

  • 主题

  • 帖子

[已处理] OnButtonCommand事件

wangxuemeicheny
  /  发表于:2012-2-16 22:22  /   查看:5549  /  回复:1
提示: 作者被禁止或删除 内容自动屏蔽

1 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2012-2-17 09:25:00
沙发

回复 1# wangxuemeicheny 的帖子

wangxuemeicheny 你好:
1.后台实现方法:
设置 CheckBoxCellType AutoPostBack 属性为 true,在 Spread ButtonCommand 中设置。参考代码:

  1.         protected void Page_Load(object sender, EventArgs e)
  2.         {
  3.             FarPoint.Web.Spread.CheckBoxCellType c = new FarPoint.Web.Spread.CheckBoxCellType();
  4.             c.AutoPostBack = true;
  5.             FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
  6.         }

  7.         protected void FpSpread1_ButtonCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
  8.         {

  9.         }
复制代码
2.前台实现方法,请参考:http://gcdn.grapecity.com/showtopic-3040.html
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部