| 发表于:2007-09-21 15:08:256楼 得分:0 |
有没有搞错?为什么要引用页?那不是烦死了? 以上代码在内容页中某按钮中 control ctltmp = null; panel pltmp = null; ctltmp = null; ctltmp = page.master.findcontrol( "plmstseach ");//plmstseach是母版页中的控件id if (ctltmp != null) { pltmp = (panel)ctltmp; clsbase.funsetpanelpos(pltmp, 60, 50);//这个是对母版页中的panel进行位置设定,pltmp就是母版页中的控件 } | | |
|