MSDN - , , :
-, :
TextBox txt;
txt = (TextBox) this.ReportViewer1.Controls[1].Controls[4].Controls[0];
txt.Text = "test";
ReportViewer PreRender. 1 - , β4 - , . (4) , / . . , .
, , , ....
, .
javascript:
<script type="text/javascript">
function OnFirstLoad() {
if (!isPostBack)
document.getElementById('ReportViewer1').ClientController.ActionHandler('Search', document.getElementById('ReportViewer1_ctl01_ctl04_ctl00').value);
}
</script>
.aspx "find" , . , ctl01 ctl04 ctl00 , . , . (ctl04) - , .
onload javascript:
<body onload="OnFirstLoad();">
, . :
If (!IsPostBack)
ClientScript.RegisterClientScriptBlock(GetType(), "IsPostBack", "var isPostBack = false;", true);
else
ClientScript.RegisterClientScriptBlock(GetType(), "IsPostBack", "var isPostBack = true;", true);
, javascript. false, , .
, , . javascript .
, , , . .
, Windows .:)
!