Hello,
I am testing the dynamic filtering capabilities of the reporting tool for asp.net.
I cut the example below from your website, bur I am getting an error with
the "Reports1.Filters.add("filter1") line. The error I get is:
<< Reference to a non-shared member requires an object reference. >>
What object requires referencing?
Thanks,
Randy
Imports System Imports System.Data Imports System.Data.SqlClient Imports System.Math Imports System.IO Imports System.Web.UI.Control Imports System.Net.Mail Imports System.Globalization Imports System.DateTime Imports System.Threading Imports System.String Imports Telerik.Reporting Imports KonsItemsTelerik Imports Telerik.ReportViewer.WebForms Partial Class _Default Inherits System.Web.UI.Page Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim filter1 As New Telerik.Reporting.Data.Filter filter1.Expression = "=Fields.ProductID" filter1.Operator = Telerik.Reporting.Data.FilterOperator.Equal filter1.Value = "=10" Report1.Filters.add("filter1") End Sub End Class