回复 3楼study1990的帖子
你好,
实现方法如下:
后台:
- protected override void Render(HtmlTextWriter writer)
- {
- WebControl conner = this.FpSpread1.FindControl("corner") as WebControl;
- conner.Attributes.Add("onclick", "unableSelectAll()");
- base.Render(writer);
- }
复制代码
前台:
- <script type="text/javascript">
- function unableSelectAll() {
- FpSpread1.ClearSelection();
- }
- </script>
复制代码 |