Hi
If we have both BackGroundImage and Image property set for the PictueBox control, it only displays the BackGroundImage.
Is it possible to display the image on top and BackGroundImage behind it?
We are trying to migrate from VisualWebgui to WiseJ. The control in visual webgui have both these properties set and displays as intended.
Please suggest how this can be done.
thanks
praveena
Thank you. The InitScript helped to position the images correctly.
One quick question. The PictureBox BackgroundImageLayout when set to None, it is displayed as Tile in the WiseJ side. Is this a known issue?
Hi Praveena,
In the PictureBox’s InitScript property you can add this line
this.getContentElement().removeStyle(“zIndex”);
Removing the z-index style makes the pseudo elements display below the main element (it may depend on the browser).
I’ve attached a sample too.
Hope this helps!
Best regards,
Alaa
Hi Alaa
Thanks for the response.
Just wanted to check if any updates on this.
I noticed that both properties Image and BackGroundImage are being set. But I guess Image is displayed behind the BackGroundImage. Is it possible to display it the other way around(BackGroundImage behind Image)?
Thanks
Praveena
Hi Praveena,
Thank you for reporting this issue.
We’re currently investigating it and we’ll get back to you with a response soon!
Best regards,
Alaa
Please login first to submit.