Hi,
Do you have a code sample of how to fill a combox in the report viewer with items from a parameter with a Dynamic Values List in an infragistics report?
I have tried it in several ways, but can't get it to work.
Thank you very much for your help.
Greetings,
Geert De Vylder
Is there a sample or solution available?
At the moment this project is stalling because I can't get this to work.
I send the solution in a zipped file as attachment to this post.
I have to get this to work in the window Report_Script_Resultaten.xaml.
Hi Geert,
In the xaml page you mentioned the combo boxes are outside the report viewer. If you want to display the same parameter values (as defined in the report) in those external combos you will need to get the data yourself from the DB and bind it to them. The report viewer does not expose the available parameter data. The data is only available for the internal parameter pane.
Does that answer your question?
Best,
Leo
Hi Leo,
For those external comboboxes I'm getting the data myself from the DB in the code behind and binding it to the comboboxes. But how do you return this to the parameters defined in the report so the report can work with it?
When I run the solution and select the desired items in the 2 comboboxes on the window Report_Script_Results.xaml and click on the button. I do get the error "Infragistics.Controls.Reports.ReportViewerException: Parameter Script currently depends on another parameter. It cannot be specified in parameter bindings."
I do enclose the solution.
Thank you for your help.
Geert
You hit a bug. It will be fixed in the next 12.2 SR, which should be out soon. In the meantime, the only workaround would be to remove all dependencies between parameters.
Thank you for your answer.
I'm anxiously waiting for the 12.2 SR.
Is there also a possibility to expose the available parameter data in the report viewer in a next release? This would save a lot of coding when you work with external controls. This because the queries are already defined in the report designer.
I've logged your request for exposing the available parameter data in the report viewer as a new product idea and sent it directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this product idea is PI13010145.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.