All Answers

0 votes

Hi Alex,

sorry for the late reply. We´ll be looking into improving the standard message box that is displayed,
but please keep in mind that you can always attach to the Application.ThreadException event and gather all details there.

Best regards
Frank

0 votes

Quick update: This is being handled by private mail.

@all: Please send sales requests to sales AT wisej.com

Thanks,
Frank

0 votes

At the time of the post we distributed Wisej with a windows msi installer. Now we don’t, we distribute a VS extension package (vsix). You can try to find the package in VS and register the dlls in the GAC using gacutil.exe and copy the templates if you need them. That is for the designer. Without the designer you can use wisej projects like any .NET project.

  • Luca answered Jun 27, 2023 - 9:00 pm
0 votes

I am using wisej 3.2.2.

I have attached the file here.

0 votes

Hi David,

what Wisej.NET version are you using? IIRC this was fixed in Wisej.NET 3.2
If it still fails, please attach a sample without the OBJ and BIN subdirectories.

Thanks in advance,
Frank

0 votes
0 votes
In reply to: Responsive Issues

Solve my issue, I forgot that the ClientProfile looks from the top down, so once I moved my device to the top, I needed to make sure the width’s matched between the Portrait and Landscape. Once I did this, it worked as expected when I change the screen orientation.

 

thank you!

0 votes

Hi Soyer,

Do you mean duplicate the files ? Generally speaking you can simply do a copy/paste of the entire file, then rename them to whatever you want and you should be good to go! (Make sure to refactor the class names too).

Or, you can add any empty page or window, select everything and do a copy/paste into your new empty top level control.

HTH,

Alaa

0 votes
In reply to: Responsive Issues

Hi Christopher,

Did you add a mobile viewport to Default.html?
https://www.w3schools.com/css/css_rwd_viewport.asp

Additionally, you probably don’t need Application.Update(me) in that location. Application.Update is typically used for restoring a sessions context from a background thread.

We have a few old example applications on GitHub that might help you:

Responsive Applications:
https://github.com/iceteagroup/wisej-examples/tree/3.2/Responsive

Background Tasks (thread):
https://github.com/iceteagroup/wisej-examples/tree/3.2/BackgroundTasks

Let me know if you’re still having issues and we can take another look!

Best,
Levie

1 vote

Hi Christian,

You have to download the vsix from https://wisej.com/builds/.

You can also force a configuration update to VS by opening a Developer Command Line instance and typing devenv.exe /updateConfiguration .

HTH,

Alaa

0 votes
In reply to: Wisej & DevExpress

How is it possible to convert Devexpress winforms to web? How to proceed? Do you have any demo example for this?

0 votes

Hi Ali,

With Wisej.NET, each browser tab is a separate session, and that’s by design.

You can use cookies or local storage to implement your own auto-login logic.

HTH,

Alaa

1 vote

It’s not a Wisej.NET issue. It’s either standard ASP.NET or ASP.NET Core deployment. Follow all the steps in our deployment documentation or any Microsoft deployment tutorial. The 500 error indicates that you have selected the wrong .NET platform.

  • Luca answered Jun 24, 2023 - 2:23 pm
0 votes

Hi Jun,

You can check the Task.IsCompleted property and implement it in a way that suits your needs.

Here’s a quick and simple example:

static async Task CheckTask() {

Task task = Task.Delay(5000); // Example background task

Console.WriteLine("Task started. Waiting for completion...");

while (!task.IsCompleted)

{
Console.WriteLine($"Task status: {task.Status}");
await Task.Delay(1000); // Wait for 1 second before checking again
}

Console.WriteLine(“Task completed.”);
}

HTH,
Alaa

  • Alaa (ITG) answered Jun 23, 2023 - 1:37 pm
  • last active Jun 23, 2023 - 1:37 pm
0 votes
In reply to: Websocket error

Hi Nello,

Do you use a proxy ?

Do you have a long SessionTimeout value?

The issue can be due to several things, for example some antivirus apps block https requests that come in to fast, or throttle them, sometimes the quarantine the packet for a long time, sometimes they simply don’t route the traffic without even closing the connection. It happens with both http and websocket.

Sometimes, Session expires on the server or the server cannot restore the session.

You can try setting validateClient:false in Default.json.

Best,
Alaa

 

0 votes
In reply to: View Connected Clients

Hi Juan,

Wisej.NET has the ability to give you information about connected Clients, however, it is not possible to disconnect them remotely!

For that, you can check out the Application.Clients and the Application.Clients.Browsers properties.

HTH,
Alaa

0 votes

Hi Christian,

Would you mind attaching the sample you’re referring to?

In any case, we had a bug with the Drag&Drop feature in buttons a few releases back, and the InitScript you’re referring to was a quick workaround to the issue!

You won’t need to implement any kind of custom InitScript scripts into your controls to implement the Drag&Drop feature!

HTH,
Alaa

 

0 votes

Hi Gabriele,

This type of change can be done on a Theme level.

Currently, all “disabled” states are set to a value that is less than 1, you will need to change them to have the value “1”.
It’s relatively easy too, you can open up the Theme Builder application, then look for any disabled states, an example of how states are represented can be seen on the attached screenshot.

Then, simply replace the value you have to 1, and save the theme as a new theme in your Application’s /Themes directory.
After that, you can change the theme used in the application by adding the “theme” property in your Default.json file, it should look like this:

"url": "Default.html",
"startup": "Wisej.CustomEnabledState.Program.Main, Wisej.CustomEnabledState",
"theme": "customThemeName"

HTH,
Alaa

1 vote

Hi Lefyapı,

To attach a client-side JavaScript WidgetFunction to the configuration of a control like the dxDataGrid, you can use the lambda syntax in C#,

i.e.
this.dxDataGrid.Options.someFunc = "()=>nameOfWidgetFunction"

There are multiple variations of this syntax:
"(cellInfo)=>customizeText"-> assigns the WidgetFunction, “customizeText” with one argument passed in, “cellInfo”
"()=>customizeText()" -> immediately executes the WidgetFunction, “customizeText” and assigns the result of the function to the member.
"()=>customizeText(1)” -> immediately executes the WidgetFunction with the given arguments.

You can apply this syntax to the cellTemplate of the dxDataGrid. If you can’t figure it out, please attach a small runnable sample and we’ll be happy to take a look.

Regards,
Levie

  • Levie (ITG) answered Jun 20, 2023 - 1:53 pm
  • last active Jun 20, 2023 - 1:54 pm
0 votes

My error is as below:

 

Showing 1261 - 1280 of 11k results