Conditional interactivity

4 posts, 0 answers
  1. Mark
    Mark avatar
    13 posts
    Member since:
    Mar 2019

    Posted 20 Nov 2019 Link to this post

    Is there a possibility to add condition to 'Action' setup? For example if Fields.* <> 0 then navigate to report/url, if not set 'Action' to none.
  2. Neli
    Admin
    Neli avatar
    275 posts

    Posted 25 Nov 2019 Link to this post

    Hi Grzegorz,

    I prepared a sample report where the following approach is demonstrated:

    - Add a report parameter from type Boolean which has initial Value true;

    - Add a textbox and set the Action -> Navigate to URL -> Target URL -> Expression:

    =IIF(Parameters.isUrl.Value = true ,"https://docs.telerik.com/reporting/overview", Null)

    In this case, when the parameter is set to true, the link will be active and when it is false, it will not be.

    Test the approach and let us know how it goes.

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
  3. Mark
    Mark avatar
    13 posts
    Member since:
    Mar 2019

    Posted 04 Dec 2019 Link to this post

    Ok, thank you. What about Navigate to Report action? How to achieve same result?
  4. Neli
    Admin
    Neli avatar
    275 posts

    Posted 09 Dec 2019 Link to this post

    Hello Grzegorz,

    You can apply the same approach. When you are setting the Action, click on Navigate to Report -> Select a report source -> URL or file -> Expression:

    =IIF(Parameters.isUrl.Value = true ,"Report1.trdp", Null)

    In this case, when the report parameter is set to true and you click on the textbox, the report "Report1.trdp" which is in the same folder will be opened.

    You can test the updated version of the previously attached report.

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
Back to Top