All Answers

0 votes
In reply to: webserial wrapper

Good proposal. This allow to not use complex hardware infrastructure (serial network converter) on application that need to manage serial device like legacy POS devices.

 

0 votes

Can you provide a link to where you saw this in the ChartJS documentation? Does it include a code snippet showing how to do it in JavaScript?

If you know how to do it in JavaScript, you can simply run the JavaScript code from C#, like this:

Wisej.Web.Ext.ChartJS.ChartJS chartJS1 = new Wisej.Web.Ext.ChartJS.ChartJS();
chartJS1.Eval("JavaScript code goes here");

Another thing to note, for chartJS specifically, is that if you want to access the chart from inside chartJS1.Eval() you can use this.widget.chart

Here I used the Eval() function, which runs whatever JavaScript code you send it. You can also use the Call() function, which takes the name of a JavaScript function and runs that function.

-Julie

 

  • Julie(ITG) answered Sep 28, 2023 - 9:09 pm
  • last active Sep 28, 2023 - 9:10 pm
0 votes
Rasbian (the Pie’s OS) is based on Debian (same thing as Ubuntu), and we do cover Ubuntu deployments in our docs.
Also see https://www.youtube.com/watch?v=8BNdUE67orU -this video shows how to deploy a Wisej app to a Linux VM. The Linux VM in the video uses Ubuntu 22.04.2.
  • Julie(ITG) answered Sep 27, 2023 - 5:40 pm
  • last active Sep 27, 2023 - 8:07 pm
0 votes

The answer of this issue is: .SortFrozenRows = False

As you may see you have a native solution for this.

Kind regards!

  • mgmst answered Sep 27, 2023 - 4:39 pm
  • last active Sep 27, 2023 - 4:40 pm
0 votes
In reply to: Custom loading screen?

Hello, how are you? Query in version 3.2, how do you change the gif of the startup loader?

0 votes
In reply to: Invalid Server License

Things to consider:

1.Could be caused by a lack of internet connection, or a firewall blocking Wisej attempting to validate the license.
See this forum response: https://wisej.com/support/question/invalid-server-license-upgrading-to-wisej-3-net-core

2.Double-check that there is a wisej-server.lic file in the root project folder. wisej-server.lic is automatically generated the first time the server activates a server license. You can also try deleting it, in case it’s out of date. If it’s deleted, a new one will be generated. https://docs.wisej.com/docs/getting-started-1/license-activation#server-license

3.What version of Wisej does your application use? The screenshot you provided shows a Wisej version of 3.1.10. The newest version of Wisej is currently 3.2.5.  If you are using a newer version of Wisej, perhaps it tried and failed to download the new license? https://docs.wisej.com/docs/getting-started-1/license-activation#server-license

4. Try deleting the old wisej-license.wx file. You’ll find 2 copies, one usually inside the application’s root directory (outside the bin folder) and one under C:\ProgramData\IceTeaGroup\Wisej. Delete the file and recycle the app pool, and see if that fixes the ‘Invalid Server License’ message.

5. Try rebooting the server and pasting the license into the web.config file. Make sure that you are using the Server Key and not the Developer Key.

6.Double-check that the key in the web.config file and the wisej-server.lic file match.

7.Enable tracing so that you can get the log file from the license manger- in case there are errors as it attempts to validate the license.

Hope this helps!

-Julie

 

0 votes

This appears to be a bug. We can replicate. Will let you know when we have a fix.

-Julie

0 votes

This is likely caused by localization.  https://docs.wisej.com/docs/concepts/localization#localizing-the-system

By default, the culture is set to “auto”- it is detected based on the browser. You can change this by setting the culture in Default.json, like so:

"culture":  "en"

See https://docs.wisej.com/docs/concepts/localization#detecting-switching-the-browser-language

 

-Julie

  • Julie(ITG) answered Sep 25, 2023 - 5:16 pm
  • last active Sep 25, 2023 - 5:16 pm
0 votes

Hi again,

It looks like the deployment method makes the difference. It all works correctly if I publish the usual way with all the dlls included. And it does not if I publish as a single file (exe).
Have a look and see the difference in
https://win1-dev.mobics.gr/canvaswisejdll/ and

https://win1-dev.mobics.gr/canvaswisej/

It’s the same application deployed in the two different ways. just drag the mouse over tha canvas and then press the save to file button. In the second case you can see the missing widget error.

It looks like the Html2Canvas extension is missing from the single file deployment.

Regards,
Alex

 

0 votes

Hi Carl,

glad you found the solution and thanks for sharing it in the forum.

Best regards
Frank

0 votes

Of course, I found the solution right after posting (and after days of searching).

<httpRuntime … executionTimeout=”big enough number”/>

in web config, plus setting ScriptManager.AsyncPostBackTimeout fixes it.  Both of these timeouts default to 90 seconds.

 

  • Carl Daniel answered Sep 22, 2023 - 5:30 pm
  • last active Sep 22, 2023 - 6:19 pm
0 votes

Hi Alaa,

I cannot install the application on a different server, since it has to access a local netwoark database to start. If this helps, it looks like the html2canvas widget does not get created, have a look at the screenshot. Could it be that its creation needs to access some internet resources?

Best,
Alex

0 votes

Hi Tiziano,

Unfortunately, this would be impossible to implement.

The designer creates an instance of the base class and applies the designing class’s instructions (interpreted) in InitializeComponent(). Cannot create an instance of the generic class. You need a class in between, basically something along the lines of MyForm : FormInBetween: FormGeneric<FormTest>

Best,
Alaa

0 votes

Hi Alaa,

Unfortunately it is deployed on a server not accessing the internet. I’ll try to deploy it to an internet facing one and let you know.

Thanks,
Alex

0 votes

Hi Chris,

We don’t have plans to implement additional preview options at the moment.

I will add this as an enhancement request though, perhaps we can include it in our roadmap for Wisej.NET 4.

Best,
Alaa

0 votes

Hi Alex,

Would it be possible to email us a link to the deployed application for us to debug?

Best,
Alaa

1 vote
In reply to: DataGridView DragDrop

I have just had the same problem (the DragDrop event was not being called), I found that I had (in my DragStart method):

myDataGridView.DoDragDrop(SelectedLine, System.Windows.Forms.DragDropEffects.Move);

when I needed to have:

myDataGridView.DoDragDrop(SelectedLine, DragDropEffects.Move);

Note the absence of ‘System.Windows.Forms.’ in the second line. My program had been working with System.Windows.Forms.DragDropEffects.Move for the last few years but a recent update must have changed something. When I now hover over ‘DragDropEffects.Move’ it tells me it is ‘Wisej.Web.DragDropEffects’.

It should have been Wisej.Web.DragDropEffects’ all along but maybe I copied the code from a WinForms program, it worked so I never noticed.

Thought I would post this in case it helps someone else.

0 votes

Any change to the third party fullcalendar component is outside of our free Wisej.NET support. My guess is that you’d have to modify their css or html.

  • Luca answered Sep 12, 2023 - 7:32 pm
0 votes

It’s currently not supported. The source code is here:

https://github.com/iceteagroup/wisej-extensions

Refer to the fullcalendar web site and source code to see if there is a way to handle their drag & drop functionality. We welcome pull requests on our open source free extensions.

  • Luca answered Sep 12, 2023 - 7:31 pm
0 votes

Hi Robert,

You can simulate the same process by using Cookies or LocalStorage.

You basically have to handle your session management, the best practice would be to use LocalStorage for persistence.

The APIs are documented in our API Docs, For LocalStorage please use Application.BrowserStorage and Application.Cookies for using Cookies.

Best,
Alaa

Showing 1221 - 1240 of 11k results