or
<form id="ReportManagement" runat="server" style="width: 100%">
<div id="content" >
<telerik:ReportViewer ID="ReportManagementViewer" runat="server"
Width="100%" ViewMode="PrintPreview" Height="690px"
ParametersAreaVisible="False" ShowParametersButton="False"
ShowDocumentMapButton="False" ShowPrintPreviewButton="False"
ZoomPercent="200" ShowZoomSelect="False" ShowHistoryButtons="False">
</telerik:ReportViewer>
</div>
</form>
foreach
(Telerik.Reporting.SubReport item
in
ReportLib.ReportBase.GetDescendantsByType(
this
.Report,
typeof
(Telerik.Reporting.SubReport)))
{
item.ReportSource.DataSource = ds.Tables[ReportLib.ReportBase.GetDataSetIndex(item.Name)];
}