All Answers

0 votes

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

//

//

  • Alaa (ITG) answered Jan 24, 2024 - 12:40 pm
  • last active Jan 24, 2024 - 12:41 pm
0 votes
Hi Francesco,
I would also like to point out the following:

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.

It is not possible to process a server request when closing the tab or navigating away or closing the browser.
Best,
Alaa

//

0 votes

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

  • Alaa (ITG) answered Jan 24, 2024 - 12:11 pm
  • last active Jan 24, 2024 - 12:24 pm
0 votes
In reply to: Application.ShowLoader

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

  • vincent_ answered Jan 24, 2024 - 12:11 pm
0 votes

Hi Ruben,

Would it be possible to prepare a sample for us ?

Best,
Alaa

//

0 votes
In reply to: Application.ShowLoader

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

//

0 votes

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

0 votes

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

  • Levie (ITG) answered Jan 22, 2024 - 2:45 pm
  • last active Jan 22, 2024 - 3:06 pm
0 votes

Hello Tim,

sorry, but i get the same error.

Methon not found: void System.Drawing.Text.PrivateFonCollection……

Rupert

0 votes

You can however, host anything in an IFrame.

//

0 votes

Hi Gabriele,

Unfortunately, that’s not possible with Wisej.NET at the moment.

Best regards,
Alaa

//

0 votes
In reply to: WebGL control

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.

  • Luca answered Jan 18, 2024 - 4:15 pm
0 votes

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

0 votes

Hi Rupert,
You can find additional documentation for Wisej.NET Hybrid here: docs.wisej.com/hybrid
Best,
Levie

0 votes

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

 

 

 

0 votes
In reply to: New ChatControl?

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

0 votes
In reply to: New ChatControl?

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.

  • Luca answered Jan 16, 2024 - 7:05 pm
0 votes
In reply to: Navbar groups issue

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;

 

1 vote

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

//

0 votes
In reply to: Web API in Wisej app

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

Showing 741 - 760 of 11k results