All Answers

0 votes

when switching from solutionA-project1 to solutionB-project1, the text that shows up in the tab when solution B-project 1 runs persists from solution A-project 1.

I’ve seen a similar issue before and it’s just caused by the browser cache still having the old data. If you clear the cache, you will see the correct text.

To clear the cache on google chrome: Click the 3 dots in the upper right hand corner -> History -> Clear Browsing Data -> check “Cached images and files” -> hit “clear data”

You only need to clear the cached images and files- you don’t need to clear your browser history or cookies.

  • Julie(ITG) answered Oct 5, 2023 - 1:31 pm
  • last active Oct 5, 2023 - 1:50 pm
0 votes

In default.html you can set the title <title>my site</title> and you can also set the page/Form Text property to ‘my Site’ if it is the main page/form you are using.

 

HTH,

Tim

1 vote

Hi Andrew,

We are going to add a new SuppressMarkers property as an enhancement, and we also fixed the issue you had when clearing and re-adding routes!

This will be part of the next Wisej.NET 3.2.6 release!

Best,
Alaa

0 votes

Thanks for reporting this. We were able to replicate the bug in a test case, and will work on a fix.

0 votes

Hi Robert,

By any chance, are you writing/rewriting a file that happens to be inside the “bin” folder?

Usually, the app will keep restarting whenever a file is either written or overwritten inside of the bin folder.

Best,

Alaa

1 vote

In the meantime, I could narrow down the issue to the code executed before the form is shown. Here, a database query (Access DB) is made to get some basic information the application uses. If this query is skipped, the form shows up corrently without restarting. The query is executed and populates an array without error. Question: Is it possible in a Wiesej application, to have some global data in the Module where also the Main() method resides? The mentioned array is also declared here.

Wisej version is 3.2.5; I’m running from Visual Studio 2022.

Any other ideas what causes this issue? Thanks!

  • Robert Langer answered Oct 3, 2023 - 10:45 am
  • last active Oct 3, 2023 - 2:26 pm
0 votes

Dear Julie,

Ok, Thank You

 

  • rdytop answered Oct 3, 2023 - 3:06 am
0 votes

What version of Wisej are you using?
Can you provide a sample so that we can try to reproduce? You mentioned that you created a simple new Form from scratch with two controls to be shown at startup-can you zip that and attach that to this forum post?

Is this a deployment, or are you just running it from Visual Studio?

-Julie

 

0 votes

You can achieve this by editing the code of the NavigationBar component.
It is open source on GitHub, and can be found here: https://github.com/iceteagroup/wisej-extensions/tree/3.2/Wisej.Web.Ext.NavigationBar

Specifically, you’ll want to edit the file NavigationBar.Designer.cs (https://github.com/iceteagroup/wisej-extensions/blob/3.2/Wisej.Web.Ext.NavigationBar/NavigationBar.Designer.cs).

0 votes

I’ve attached a sample that shows increased icon size, custom icon color, and custom icon color on hover. Run the sample and right-click on the button to open the context menu.

Here’s a code snippet from the theme file that shows where I edited the width/height of the icon, the color of the icon, and the hover color of the icon. You can find the full theme file in the sample-it’s called menucolor.theme.


"menu": {
"components": {
"item": {
"components": {
"icon": {
"states": {
"default": {
"properties": {
"width": 100,
"height": 100,
"marginRight": 8,
"scale": true,
"textColor": "#F16513"
},
"styles": {
}
},
"selected": {
"properties": {
"textColor": "#00FF57"
},
"styles": {
}
}
}
}
}
}

I’ve also included screenshots of what the theme looks like in the theme builder.

Note that you will have to edit the JSON text of the theme file manually to add the “width” and “height” properties to the icon- they are not included by default.

-Julie

  • Julie(ITG) answered Oct 2, 2023 - 4:01 pm
  • last active Oct 2, 2023 - 4:05 pm
0 votes

Here is the link to the documentation regarding the legend configuration. After trying a few different options, I am still unable to change the text color.

 

https://www.chartjs.org/docs/latest/configuration/legend.html#legend-label-configuration

  • Kieran answered Oct 2, 2023 - 3:01 pm
0 votes
In reply to: webserial wrapper

I’ve logged this as an enhancement request. We’ll consider adding it in a future release.

 

-Julie

0 votes

Hi Dino,

I will log an enhancement request for that feature and will be working on it.

Best regards
Frank

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

Showing 961 - 980 of 11k results