or
var serviceClient = new ReportServiceClient(new Uri(App.Current.Host.Source, "../Reports/ReportService.svc")); serviceClient.RenderAsync("PDF", PROP_ReportViewer_MCred, deviceInfo, parameters); serviceClient.RenderCompleted += new EventHandler<RenderEventArgs>(serviceClient_RenderCompleted); Protected Sub Search() Try Dim rs As InstanceReportSource = DirectCast(Me.rviewer.ReportSource, InstanceReportSource) Dim filters As New Telerik.Reporting.FilterCollection Dim filterApoyo As New Filter() filterApoyo.Expression = "=Fields.IdApoyo" filterApoyo.Operator = FilterOperator.Equal filterApoyo.Value = "='" + ddlApoyos.SelectedValue + "'" filters.Add(filterApoyo) Dim repProt As ReportProtocolo = DirectCast(rs.ReportDocument, ReportProtocolo) repProt.Filters.AddRange(filters) Catch ex As Exception Throw ex End Try End Sub