We want to show company logo in the picturebox element. Company logo file path can be programmatically changed. For this purpose, we created CompanyLogo parameter in the report and the picturebox has binding with this parameter's value to set file path to the picturebox's value. Sometimes, company can be without logo. If company doesn't have logo, we want the picturebox to show nothing.
Problem here is if we bind the picturebox with the report parameter, it shows an error if the file path doesn't exist or empty:
If the parameter's value is empty then the picturebox show empty space, instead of the error. As an example, if you remove binding and keep picturebox's value blank then it will show empty space.
Any solution or workaround for this problem?