[Bindable(true, BindingDirection.TwoWay), Category("User-Defined"), Description("Default Picture")] public byte[] DefaultPicture { get { // We need to convert picture to byte array Byte[] imgByte = null; try { if (this.myPic.HasFile && this.myPic.PostedFile != null) { if (this.myPic.FileBytes.Length > 10240) // exception case throw new Exception("Image File was is too big: " + (this.myPic.FileBytes.Length / 1024).ToString() + " kB."); else imgByte = this.myPic.FileBytes; } } catch (Exception e) { throw (e); //exception handled } return imgByte ; }The parameter is declared in ASPX page as type = "Byte"