1
我打电话简单javscript方法,定义,不知道为什么这个错误发生CS1061:“ASP.station_pages_stationfield_aspx”不包含“resizeIframe”
<iframe height="100px;" onload="resizeIframe(this)" runat="server" id="frameDayLeft"
scrolling="no" style="border: none; width: 250px" frameborder="0"></iframe>
,这里是细节错误:
Compiler Error Message: CS1061: 'ASP.station_pages_stationfield_aspx' does not contain a definition for 'resizeIframe' and no extension method 'resizeIframe' accepting a first argument of type 'ASP.station_pages_stationfield_aspx' could be found (are you missing a using directive or an assembly reference?)
谢谢你,你知道我可以调用javscript方法上的iframe – 2013-03-28 06:28:07
frameDayLeft.Attributes的onload事件.Add(“onload”,“resizeIframe(this)”); – Freelancer 2013-03-28 06:29:12
@VijaySinghRana通过我编辑的代码 – Freelancer 2013-03-28 06:40:43