Hi Ahmed,
We suspect that you have faced null reference exception while setting visibility to the textbox report item in code behind. Please find the below code snippet to set the visibility for the textbox.
|
Textbox.Visibility = new Syncfusion.RDL.DOM.Visibility();
Textbox.Visibility.Hidden = "true"; |
We have modified the sample and report based on your requirement. Please find the sample from the below location.
Also, you can use parameter value in visibility expression to hide/show the report items based on your requirement as an alternate solution.
Regards,
Mageshyadav.M