回复 1楼婧友521的帖子
实现方法如下:
- protected void Page_Load(object sender, EventArgs e)
- {
- FarPoint.Web.Spread.ComboBoxCellType c = new FarPoint.Web.Spread.ComboBoxCellType(new String[] { "One", "Two", "Three" });
- //selecchanged 变化后触发 FpSpread1_ButtonCommand 事件
- c.AutoPostBack = true;
- c.ShowButton = true;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
- }
- protected void FpSpread1_ButtonCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
- {
- //在这里实现逻辑
- }
复制代码 |