How to Pass parameter value into Graph query from custom web part?

Atul Patel asked on June 11, 2015 11:11

I have created one sample graph using Kentico reporting application. Graph has one query with single parameter. I have to pass value in this parameter from custom web part. So how to possible to pass parameter value in Report query from custom webpart.

Thanks, Atul Patel

Correct Answer

Timothy Fenton answered on June 22, 2015 17:23

Hello Atul

If you are using the built-in DisplayReport control you can simply call the LoadDefaultParamaeters() functionality, you can see an example of this being used in the Report webpart: ~\CMSWebParts\Reporting\Report.ascx.cs you should use this as inspiration for your custom webpart

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.