Hi Luca:
I implemented the favicon.ico on Default.html, but the problem persist. Look at the image attached, the wisej.js?v=1.4.65.0 last 43 SECONDS to load, and goes on, it’s doesn’t load at all.
Please help!
So – is it the server side retrieving the pdf at the url or is it PDF.js ?
If I paste the URL in my browser directly it comes up.
Hi Luca.
The Chrome on the apple macbook said: “Failed to load resource: the server responded with a status of /favicon.ico 404 (Not Found)”
I neve used favicon.ico. I don’t know how to solve this.
Thanks in advanced.
I tried the link from an iPhone 8 and 10 and it works fine. Haven’t tried from a Mac yet.

I don’t think it’s an emulated event by wisej/qooxdoo. The library emulates touch events on desktops, not the other way around. Or at least I couldn’t find it in the code or the docs. The “contextmenu” event seems to be generated by the mobile browsers natively and it doesn’t appear to be a Wisej issue.
https://stackoverflow.com/questions/3413683/disabling-the-context-menu-on-long-taps-on-android
You can disable it on the device by adding javascript or you can disable it in your code when detecting a mobile device.
I tried using SetChildIndex(its now commented out) – trying ascending and descending values – it didn’t make a difference, the controls were rendered in reverse order they were added to the panels.
I can’t reproduce with the current build (not uploaded yet) – it was a bug it may have been fixed. We can send you a prebuild to verify.
I used this code:
private void textBox1_ToolClick(object sender, ToolClickEventArgs e)
{
var cx = new ContextMenu();
cx.MenuItems.Add(“Test”);
cx.Show(this.textBox1, Placement.BottomRight);
}
The tools container is the same widget used for form captions and for editable controls. When the size is changed in the theme it’s the same in all instances since it’s the same widget. We have already enhanced this in the upcoming built. The tools container appearance in the theme has two new states “caption” and “panel” to allow theme to change the style when the tools are in a form caption or in a panel header.
It’s not backward, it follows the z-index order like in winforms. You can change it using BringToFront, SendToBack, or Controls.SetChildIndex.
No if the other site doesn’t allow CORS. It’s not a Wisej or pdf.js issue. It’s how browsers enforce security. With Wisej you can load the external pdf from the server and return it to your viewer. If you have access to the other server you can enable CORS.
Wisej can scale a container (form, usercontrol, page) and all it’s children using the font of the container – like winforms. Scaling is done using the proportion of the font size difference from the AutoScalingSize stored in InitializeComponent() and the new font size when changing the font. You can also scale individual controls using the Scale() methods. When scaling a control, also the children are scaled including location, size, min/max size, padding, etc.
IIRC, there was a small issue with scaling at design time that is fixed in the upcoming build. But in general it works like WinForms font scaling mode.
HTH
Here is a bare bones example … initially the custom column appears to be a text column – resizing columns causes the correct display.
Looks like it’s not the FullCalendar but the TouchEventArgs ctor in Wisej expecting at integer for the touch event id while the iPad2 is using long values. Will log the bug.
The appearance key is “linklabel” but it’s not used in our themes. You can add it to change the default colors. But probably the LinkBehavior property is what you are looking for.
Could you please send a test case that we can run?
Wisej was designed also for this type of deployment. Look at the HostService extension. It’s provided with the full source code and free. See also https://wisej.com/blog/self-hosting-and-standalone-web-apps/
You can deploy a Wisej app with IIS (like an ASP.NET app), or as a self hosted service (it’s a self registering exe that you can copy in the project folder and register as a windows service), as a self hosted process (simply run the exe), or as a standalone application (runs like a desktop application – it’s similar to electron but better). Why better? Because electron is just a browser running javascript, Wisej standalone embeds the server too so your VB.NET or C# code also run in the embedded single desktop app. Additionally, Wisej provides two types of standalone apps: Explorer and Chromium. Explorer is just few kilobytes. Chromium is over 120MB because of chromium. Additionally, since we provide the full source code you can modify the frame as much as you like and add custom toolbars, or any other control and interact with the child browser.
Also, Wisej is capable of running as a single exe (really 1 file) as a service, a process or a desktop app. However, to package everything into a single exe you have to use ILMerge and do some other changes to let Wisej serve web.config and other system files from embedded resources. We are working on a tool called Wisej Container Builder that can do all of that easily.
An example of this approach is here: https://wisej.com/support/question/owin-self-hosted-application-in-single-binary
Hi Edmond & thanks for the reply.
Yes, I realise wisej is for web apps & that serial port access is on server only. That’s fine.
Since I posted this question I found that you can retrieve port names from device manager, but it’s odd how my.computer.ports isn’t available.
Cheers,
Darren
Small correction.
It should rather be:
if (e.GridItem?.PropertyDescriptor?.Name == “LastUsed”)
{
e.CellStyle.Format = “dd.MM.yyyy”;
}
Best regards
Frank
WiseJ is for creating Web Based applications. Keep in mind even if you could access the COM ports – they would be com ports on the web server – not your client machine. Your VB code executes on the server itself under IIS.
Hi Vishal,
licenses will remain valid unless you want to upgrade to a newer Wisej version.
Best regards
Frank
