|
//Adjust header row''''s height.
+ @"
headerTableRow.height = originalTableRow.offsetHeight;
" +
//Adjust pager row''''s height, width.
pagerID + @".rows[0].height = " + ID + @".rows[0].offsetHeight;
" +
pagerID + @".style.width = " + ID + @".offsetWidth;
for (var i = 0; i < headerTableRow.cells.length; i++) {
headerTableRow.cells[i].width = originalTableRow.cells[i].offsetWidth;
}
" +
//Also needs to adjust the width of the "<div>" at client side in addition to servier side,
//since the Table''''s actual width can go beyond the width specified at server side under Edit mode.
//The server side width manipulation is mainly for design-time appearance.
divID + @".style.width = " + ID + @".offsetWidth + 20 + ''''px'''';
" +
//The following script is for flow-layout. We cannot get the position of the control
//on server side if the the page is with flow-layout.
headerID + @".style.left = " + divID + @".offsetLeft;
" +
headerID + @".style.top = " + divID + @".offsetTop + " + pagerID + @".offsetHeight;
" +
headerID + @".style.position = ''''absolute'''';
" +
pagerID + @".style.left = " + divID + @".offsetLeft;
" +
pagerID + @".style.top = " + divID + @".offsetTop;
" +
pagerID + @".style.position = ''''absolute'''';
&nbs 上一页 [1] [2] [3] [4] [5] 下一页 [Web开发]一个关于ASP运行时间计算的代码 [Web开发]ASP:检测含有中文字符串的实际长度 [Web开发]asp 中英文字符长度检测判断函数 [Web开发]安全维护 IIS asp 站点的高级技巧 [Access]ASP&SQL让select查询结果随机排序的实现方法 [Web开发]ASP字符串截取函数 [Web开发][asp]关键词只替换一次的写法 [Web开发]Asp无组件生成缩略图方法详解 [Web开发]asp编程中优化数据库方法详解 [Web开发]三种方法教你asp如何去除html标记
|