添加图片报错
通过js添加图片报错,麻烦看一下是什么原因?您好,问题重现出来了,正在寻找解决方案,有结论了给您答复 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);
}
页:
[1]