1 SubReport subReport = (SubReport)sender;
2 (DataRowView)subReport.DataItem
But, SubReport does not have a definition for DataItem. So it results with a compilation error.Can anyone send me the code snippet to set the Datasource of the subreport.
Thanks.
ZoomMode
="PageWidth"
In explorer I see vertical scrooll bar constantly.
How i can remove this and zoom hiegth to full hiegth page
Thanks ahead
Private Sub DetailSection_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles DetailSection.ItemDataBound |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oIndividual").Visible = False |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oSoleTrader").Visible = False |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oOrganisation").Visible = False |
If CType(CType(CType(sender, Telerik.Reporting.Processing.DetailSection).DataItem, DataRowView).Row("DARGA_nEntityType"), DAREnterprises.Enums.EntityTypes).Equals(DAREnterprises.Enums.EntityTypes.Individual) Then |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oIndividual").Visible = True |
ElseIf CType(CType(CType(sender, Telerik.Reporting.Processing.DetailSection).DataItem, DataRowView).Row("DARGA_nEntityType"), DAREnterprises.Enums.EntityTypes).Equals(DAREnterprises.Enums.EntityTypes.SoleTrader) Then |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oSoleTrader").Visible = True |
Else |
CType(sender, Telerik.Reporting.Processing.DetailSection).Items("oOrganisation").Visible = True |
End If |
End Sub |
In using your product telerik
:ReportViewer we have encountered a problem, we would appreciate your help. We have a page in which we use the ReportViewer which we keep invisible. On this page we have a button to print reports, what we'd like is that clicking this button would do the same as if clicking the print button on your built-in toolbar. How is this done? Thank you for your help