Hi Neil,
You can call this.tinyMCE1.Eval(“this.editor.getBody().style.backgroundColor = \”#FFFF66\”;”);
But make sure to attach it to the Appear event of the TinyMCE wrapper:
private void tinyMCE1_Appear(object sender, System.EventArgs e)
{
this.tinyMCE1.Eval(“this.editor.getBody().style.backgroundColor = \”#FFFF66\”;”);
}
Best,
Alaa
//
//
The unload event in all browsers is the same for navigating or closing. All you can do is enable the browser’s alert and cancel closing the tab or navigating away.
//
Hi Francesco,
You can use the Application.BrowserTabDeactivated event for now, it might cause a few issues if your users are constantly switching between tabs.
This could be an enhancement for a future release, I’ll log it and update you ASAP!
EDIT: I would like to point out that we do have an event Application.EnableUnloadConfirmation that you can use!
Best,
Alaa
Hi Alaa,
Thanks for the easy answer! It was indeed not installed. After installing it worked like a charm! Also, it feels as if the application is now more responsive too.
Vincent
Hi Ruben,
Would it be possible to prepare a sample for us ?
Best,
Alaa
//
Hi Vincent,
Can you please double check if WebSocket is enabled on your server environment?
It’s a feature that you need to install if you’re running on Windows Server, it does not come out of the box with IIS.
Best,
Alaa
//
Hi Brayden,
Alternatively, you can also try to add a KeyDown listener in JavaScript and build a keyboard buffer on the client. When the buffer fills up you can fire a WidgetEvent for a “scan” event.
Relevant Links:
https://wisej.com/support/question/keydown-keyup-keypress-events-does-not-work
https://docs.wisej.com/api/wisej.web/general/control#initscript
https://docs.wisej.com/api/wisej.web/general/control#widgetevent
HTH,
Levie
Hi Brayden,
Using the barcode scanner in the web browser (Chrome, Edge, etc.) as a virtual keyboard will require you to have a focused textbox at all times that manages the KeyPress or TextChanged event.
If you would like a deeper integration that intercepts the values from the barcode scanner without a textbox (programmatically in C#), this can be achieved using Wisej.NET Hybrid (docs.wisej.com/Hybrid).
If you would like assistance with this, you can reach out to sales@wisej.com to order some consulting packages.
Best regards,
Levie
Hello Tim,
sorry, but i get the same error.
Methon not found: void System.Drawing.Text.PrivateFonCollection……
Rupert
You can however, host anything in an IFrame.
//
Hi Gabriele,
Unfortunately, that’s not possible with Wisej.NET at the moment.
Best regards,
Alaa
//
Something similar to this?
https://docs.wisej.com/api/wisej.web/content/canvas
If you’d like to use Wisej.Web.Canvas as a base to build something similar using canvas.getContext(“webgl”) instead of “2d” we can prepare a public extension on github with the Canvas code as a base/placeholder then you can fork it and complete the extension.
Hello Tim,
Thanks for the sample.
First there appeared an error in MenuBar.cs
public override bool IsSupported()
{
return Device.Info.System.Idiom == “Desktop”;
I changed it to
return Device.Info.System.Idiom.ToString() == “Desktop”;
}
But now when I start the HypridApp in debug on Android-Simulation (Pixel) i get the error:
Method not found: void System.Drawing.Private FontCollection……….
Do you have any idea?
Thanks
Rupert
Hi Rupert,
You can find additional documentation for Wisej.NET Hybrid here: docs.wisej.com/hybrid
Best,
Levie
Download this sample and you should be able to use the example to get it working.
https://github.com/iceteagroup/wisej-hybrid-examples
Thanks,
Tim
Hi Daniel,
thanks for your interest in our Chat Control extension.
Source code in GitHub is always updated for every Wisej.NET release, so now you will see the 3.5.3 code base,
while Wisej.NET 3.5.4 is currently in QA (there are also 3.5.4 preview builds on nuget.org during that process).
We are working on our documentation to cover the new extensions (including samples) and it will be available shortly.
I’ll update this forum thread then.
For the specific error on the Chat Control that you were facing it would be helpful to get a small test case and an information about the Wisej version you have been using.
Best regards
Frank
Nuget and github are not always guarantees to be in sync. The chat control is a free cool extension provides with source code. If your specific issue is the compilation error we will look into it. If you attach a simple test case if would help.
General ranting doesn’t help especially on a free support forum.
congratulations, you found a bug 🙂
Please change the NavBarGroup property in BaseMainForm.cs to the following and it should work:
protected string NavBarGroup
{
get => _NavBarGroup;
set
{
_NavBarGroup = value;
_NavBarGroupItem = null;
}
}
protected string _NavBarGroup;
Hello William,
Attached is the sample on how to use the MarkerCluster plugin for GMaps.
We’re going to enhance our Extension to provide a cleaner approach on how to deal with it.
Take a look at the JavaScript/MarkerCluster.js file, to quickly see how everything is wired.
Program.cs file to see how JS Packages are loaded on an application level.
You’ll need to use your own API key for the sample to work correctly.
Best,
Alaa
//
Hi Ali,
For my education, why would you want to create a Web Api in the Wisej application? Why not create a separate application for that?
Best,
Alex