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 метод на OnLoad случае IFrame –
frameDayLeft.Attributes .Add ("onload", "resizeIframe (this)"); – Freelancer
@ VijaySinghRana пройти через отредактированный код – Freelancer