Hi all,
after update from 1.5.38.0 to 1.5.43.0 background image in Wisej.Web.Button are broken.
On designer is showed correctly, but at run time background is empty. See attached project.
Roll back to 1.5.38.0 and all work fine.
Thanks for any help.
Thank you. It’s caused but this fix:
#1712 | Property postback security vulnerability. |
Properties that are used as a postback request need the [PostbackProperty] attribute to prevent a (tiny) security vulnerability. And it’s missing from BackgroundImage. #1747
You can use this as a temp workaround
public class Button : Wisej.Web.Button { [Wisej.Base.PostbackProperty] public override Image BackgroundImage { get => base.BackgroundImage; set => base.BackgroundImage = value; } }
Hi Simone,
#1747 is fixed in dev build 1.5.44.
Best regards
Frank
Hi Luca,
Thank you!
Hi Luca,
sorry i attached the sample again.
Note: i used an icon embedded into the Resources.resx
Please attach the test again, the zip got corrupted. I tried several combinations of images and background images in a button but cannot reproduce.
Please login first to submit.