Pending Review
Last Updated: 11 Jul 2025 10:01 by Dominik

We'd like to have a settable property on the web designer and report viewer which takes a function which returns an access token.
This way a new access token can be requested by the designer/viewer when the current one expires.

This is usually used in the following way:

  1. Implement a function with signature "string GetAccessToken()"
  2. Set that function to the property AccessTokenProvider of the designer/viewer
  3. Designer/Viewer wants to make a request and fetches and caches the access token
  4. Designer/Viewer uses that access token until it hits a 401 upon which
    1. The Cached access token is cleared
    2. A new Access token is fetched from AccessTokenProvider and then cached
    3. Retry the request with the new access token
    4. Should the retry also fail return the failure

Should the above be to specific/inflexible:
Instead of caching the access token, call AccessTokenProvider for every fetch but also provide an additional parameter with the "reason" for the call, so the implementer of AccessTokenProvider can decide themselves when to return a cached AccessToken or generate a new one.


Pending Review
Last Updated: 10 Jul 2025 13:46 by Thomas

Greetings,

Telerik.Reporting version: 19.1.25.521

ASP.NET Web Forms

Our team recently had a some trouble understanding the behavior of the ReportViewer.ParametersArea and the property "ParametersAreaVisible". Our desire was to hide this to the end user because the ParametersArea should not be fiddled with directly by the our end users; sensitive data could be accessed. Setting this to false does not stop the render of the ParametersArea. Typically setting the property on a control in ASP.NET Web Forms means the control will not render to the page. So having a property named "ParametersAreaVisible" is misleading in my opinion. I know the ParametersArea is thought as a benefit to the end user but in our case we do not desire this.

My feature request is to add a new property "DisableParameterArea" to the ReportViewer that causes the ParametersArea to not render to the ReportViewer.

 

Thank you