回复 1楼lidongzhi的帖子
你好,
解决方法如下:
CS:
- protected override void Render(HtmlTextWriter writer)
- {
- Table dt = this.FpSpread1.FindControl("viewTable") as Table;
- dt.Rows[0].Attributes.Add("onclick", "test");
- base.Render(writer);
- }
复制代码
JS:
- <script type="text/javascript">
- function test() {
- return;
- }
- </script>
复制代码 |