我正在调用简单的 JavaScript 方法,但不知道为什么会出现此错误
<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?)