V10版本的一个bug,临时解决方案,
- protected void Page_Load(object sender, EventArgs e)
- {
- if (Page.IsPostBack) return;
- FpSpread1.EnableAjaxCall = true;
- FpSpread1.ActiveSheetView.Images.Clear();
- FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage();
- image.ImageUrl = "";
- image.Width = 1;
- image.Height = 1;
- image.Left = -10;
- image.Top = -10;
- image.ID = "ewm_workaround";
- image.Visible = false;
- FpSpread1.ActiveSheetView.Images.Add(image);
-
- }
复制代码 |