All Answers

0 votes

Thank you, is it possible to set a separate culture for a certain usercontrol or page?

0 votes

Please refer to our documentation to see how to change the culture of your application:

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

Best regards
Frank

0 votes

It’s not a bug.
The issue is that the culture is set for the column and not the entire application. Set the application culture to es-CO and that will fix the issue.

0 votes

The shared folder is the folder that the user shares with the web application via the Client File System API. This is the folder that the user chooses from the dialog when you call this code:
Directory directory = await ClientFileSystem.ShowDirectoryPickerAsync();

I’ve created an example directory that looks like this:
Example Folder
-folder1
—-file1.txt
—-file2.txt
-folder2
-textfile.txt

To get the relative path, you can use the “Name” property for each of the files and folders, then put it all together. For example here’s how to get the relative path to file1.txt from the root folder (Example Folder):

Directory directory = await ClientFileSystem.ShowDirectoryPickerAsync();

//get all subdirectories, in this case folder1 and folder2
Directory[] subDirectoryArray = await directory.GetDirectoriesAsync("*");

//get folder1-it's the first one in the array
Directory folder1 = subDirectoryArray[0];

//get file1.txt from folder1
File[] fileArray = await folder1.GetFilesAsync("file1.txt");

//get the first (and only) file from the array
File file = fileArray[0];

//Put together the filepath based on the Name property
AlertBox.Show("filepath: "+folder1.Name+"\\"+file.Name);

I’ve attached the sample project and the sample directory.

Download both, and when you run the sample project, after clicking the button, select the sample directory (Example Folder). Doesn’t matter where you put it in your filesystem as the browser will only have access to the files within the sample directory.

See also:
https://docs.wisej.com/extensions/extensions/clientfilesystem
https://developer.mozilla.org/en-US/docs/Web/API/File_API

  • Julie(ITG) answered Jun 20, 2025 - 4:07 pm
  • last active Jun 20, 2025 - 4:08 pm
0 votes

Thanks Julie,

I don’t understand “within the shared folder”, what is the shared folder…?

0 votes

Unfortunately, it’s not possible due to browser security restrictions. You can only get the relative path within the shared folder.

Julie

0 votes

Hi,

thanks for reporting this. As a quick first update:
We could reproduce the problem and are working on a fix.

We’ll keep you updated.

Best regards
Frank

0 votes
In reply to: Error setting color

I’m not able to reproduce. I tried setting the color on a button’s BackColor property, as well as the BackColor and ForeColor of a Window (Wisej.Web.Form)- all worked correctly with no errors.

Can you please provide a reproducible test case and a clear step by step process of you reproducing the issue? What control were you trying to set the color on?

0 votes
In reply to: Templates Window

Hi Ulisses,

the VB.NET Wisej.NET web application template was missing the Wisej.NET 4 tag. As a workaround you can find and use it if you set the project type filter to “All project types”.

It will be fixed in Wisej.NET 4.0.2

Best regards
Frank

0 votes
In reply to: Templates Window

I can reproduce with the latest 4.0.1 VSIX, we’ll look into this

-Julie

0 votes
In reply to: Error setting color

Hi Ulisses,

what color were you trying to set? Is it a .NET framework or .NET core project?
Please also make sure to update Wisej-4 nuget to 4.0.1 as it contains the designer part
and a similar error was fixed in that package.

Best regards
Frank

  • Frank (ITG) answered Jun 19, 2025 - 10:52 am
  • last active Jun 19, 2025 - 10:58 am
0 votes

Not really a problem, use the .NET templates and then choose only .NET Framework 4.8 or 4.8.1 and none for .NET 8 or 9

 

0 votes

Hi Gabriele,

this issue is fixed in Wisej.NET 3.5.19 that was just released. Thanks for reporting it.

Best regards
Frank

0 votes

Please contact us at support AT wisej.com and include your license key. We will look into this further.

Thanks,

Julie

0 votes

Since you already know how to do this in MAUI, the easiest way would just be to use the MAUI code.

You can invoke MAUI code from Wisej: https://docs.wisej.com/hybrid/development/invoke-.net-maui-code

0 votes

Did you follow the instructions here, especially adding net9.0-windows ?

https://docs.wisej.com/docs/whats-new-in-4.0/.net-core-designer

Best regards
Frank

0 votes

Yes, I did and it doesn’t work, might as well stick with version 3.5 and 4.8.1

0 votes

Hi Francesco,

did you install the Wisej-4 VSIX from https://wisej.com/builds ?

Best regards
Frank

0 votes
In reply to: Loading loop

Hello again,

I checked my publishing. What I usually do, is copy by hand the dlls + config/json  from my local publish folder to the production. Since I hadn’t changed .net version (8.0) I hadn’t copied the “runtimes” folder.

It turns out, that the latest runtimes folder in my publish had one more file in it, namely:

runtimes\win\lib\net8.0\System.Runtime.Caching.dll

When I added this to the production it made the whole thing work.

If you can explain the mystery, I would be very curious to hear the explanation!
Many thanks and best regards!
Alex

0 votes

Unfortunately, There is no undoing of a sort via the datagridview itself.
You can reset the sort glyph on the column header.
If it’s a databound grid, you could reset the sort on the data source.
SortMode only controls how each column CAN control the sorting, it doesn’t sort the columns. So that’s why your code snippet does not work.

  • Julie(ITG) answered Jun 11, 2025 - 3:21 pm
  • last active Jun 11, 2025 - 3:24 pm
Showing 1 - 20 of 11k results