Loading pages in IFRAME dynamically from codebehind - ASP.NET 后台动态加载iframe的URL
Code
private void CreateSubReport(string key, string reporttype)
{
HtmlControl frame1 = (HtmlControl)this.FindControl("frame1");
string src = String.Concat("RateResultsReport.aspx?ID=", key, "&reporttype=", reporttype);
frame1.Attributes["src"] = src;
frame1.Attributes["width"] = "100%";
frame1.Attributes["height"] = "328px";
}
posted on
2009-04-28 10:52
VortexDragon(旋风龙)
阅读(
446)
评论()
编辑
收藏
举报