I have a business object like this:
Code: Select all
public class MyDocuments
{
public string Fname { get; set; }
public string Lname { get; set; }
.
.
.
public byte[] Image1{ get; set; }
public byte[] Image2 { get; set; }
public byte[] Image3 { get; set; }
.
.
.
public byte[] ImageN { get; set; }
}
each page after page1 have a image control bound to a image property of my business object.
I need to hide (in any possible way) page when its related image is null, to hide the blank pages
when showing or printing report.
How can i do this?