This is a migrated thread and some comments may be shown as answers.

A small problem with populating the filter list

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
James Bonnyman
Top achievements
Rank 1
James Bonnyman asked on 27 Apr 2010, 10:34 AM
Hi

Firstly - may fantastic tools! I have been working with the ASP.Net and the ease of development and manuals are so good I am about to get the order placed!

Based on this I have been looking at the reporting tool and I have hit a minor problem with trying to define a list of values for filtering (which I would like to do by querying my database). 

So far I generated a report that I can filter using a value typed into a text box which works fine however it would be much easier for my users if this value were chosen from a dropdown list (much like the orders example in your excellent demonstration). Ideally this would be populated from a simple query to my SQL server

To this end I selected Filters -> new, picked the parameter I wished to filter on and in "values" selected <new report parameter>. In the available values I set up a new data source that returns the ID I wish to filter on and the text description to show. The query executes OK and all is fine!

When however in the Report Parameter Editor I select 'Display member' (which I assume would display the text), Filters, Sorting or Value member I get the same error of 'The service Teletik.Reporting.IDataItem already exists in the service container. Parameter name: service Type"

Any help you can offer would be much appreciated as this would be much appreciated (I am working in vb.net)

James

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 30 Apr 2010, 06:07 PM
Hi James Bonnyman,

We were able to reproduce the unexpected behavior and we have logged it in our bug tracking system. Our suggestion is to create a Report Parameter and then use it in the Edit Filter Dialog instead of invoking the ReportParameter Collection Editor from the Edit Filter Dialog.

Your Telerik points have been updated for your bug report.
 

Best wishes,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
James Bonnyman
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or