Disappearing image

Answered Closed
0
0

Hi, I have a small pictureBox in a Form, which I use in other Winform Apps without problems. With Wisej it happens that when you open the window the image appears for a second and then disappears immediately. I put it in the foreground but it doesn’t work. There is nothing special in the window, just 2 labels, 2 TextBoxes and 2 Buttons.

Best regards.

Francesco

  • You must to post comments
Best Answer
0
0

Thank you for the sample. I can reproduce on a IIS only initial startup and a slow connection. It’s a bug in related to this.pictureBox1.SizeMode.SizeMode = AutoSize. Change it to Normal, or any of the other values to resolve the issue. We’ll log the bug.

  • Francesco Leo
    The initial connection is really slow, but I thought it was normal, I set the image to Normal and now I can see it fine. Thank you
  • Luca (ITG)
    The connection doesn’t depend on Wisej.NET. It always starts immediately and it’s entirely managed by IIS and your web server.
  • Julie (ITG)
    This bug is fixed as of Wisej 3.2.6, which just released. You can now use pictureBox1.SizeMode.SizeMode = AutoSize – you don’t need the worksround.
  • You must to post comments
0
0

Here is the link to the project, it’s too big for the attachment. This also happens in the Visual Studio IDE, so it should be easy for you to understand.

Link to project

  • You must to post comments
0
0

Can you give us a code sample? Create a small Wisej project that shows the behavior you are describing and upload it here in a zip file.

Thanks,
Julie

  • You must to post comments
0
0

The image is only seen for less than a second and then disappears, then it exists and loads it correctly, at first.

Regards

  • You must to post comments
0
0

No errors anywhere

  • You must to post comments
0
0

Hi Francesco,

Do you have any errors in the console?

Best,
Alaa

  • You must to post comments
Showing 6 results