回复 12楼elwin的帖子
好的,感谢提供信息,问题重现了。处理方法如下:
前台:
- <script type="text/javascript">
- function test()
- {
- FpSpread1.CallBack("Update");
- }
- </script>
复制代码
后台:
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- protected override void Render(HtmlTextWriter writer)
- {
- WebControl update = this.FpSpread1.FindControl("update") as WebControl;
- update.Attributes.Add("onclick", "test()");
- base.Render(writer);
- }
- protected void FpSpread1_UpdateCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
- {
- }
复制代码 |