BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi Waldemar,
Thanks for using Syncfusion products.
Query |
Response |
How do I pass a tenant Id to the report viewer (JavaScript) without the user being able to override it? I tried overriding the API Controller's OnReportLoaded as follows: public void OnReportLoaded(ReportViewerOptions reportOptions) { reportOptions.ReportModel.Parameters = new List<ReportParameter> { new ReportParameter { Name = "TenantId", Values = new List<string> {"1000"}, } }; } |
ReportViewer has support to set parameters in either JavaScript and API Controller’s overloads. Please refer our online document for more details. http://help.syncfusion.com/ug/js/documents/reportparameters.htm |
This only works if the parameter is visible, which means that the user is able to override the parameter value. |
This is a known bug and we request you to create a Support Ticket in our DirectTrack support system to get a solution or more details about this bug. Please log into DirectTrac support system to create a new support ticket. |
Please let us know if you have any questions.
Regards,
Vignesh T