01.
private
void
CreateSubReport(
string
key,
string
reporttype)
02.
{
03.
HtmlControl frame1 = (HtmlControl)
this
.FindControl(
"frame1"
);
04.
05.
string
src = String.Concat(
"RateResultsReport.aspx?ID="
, key,
"&reporttype="
, reporttype);
06.
frame1.Attributes[
"src"
] = src;
07.
frame1.Attributes[
"width"
] =
"100%"
;
08.
frame1.Attributes[
"height"
] =
"328px"
;
09.
10.
}