Here’s a very simple sample that works for me, I was able to click on the calendar dates and see the AlertBox from the WidgetEvent.
Julie
From the example:
public dxCalendar()
{
InitializeComponent();
this.dxCalendar1.Instance.onValueChanged += new WidgetEventHandler(dxCalendar1_WidgetEvent);
}
private void dxCalendar1_WidgetEvent(object sender, WidgetEventArgs e)
{
AlertBox.Show(
$”<b>{e.Type}</b><br/>{JSON.Stringify(e.Data)}”,
MessageBoxIcon.Information);
Application.Play(MessageBoxIcon.Information);
}
Clicking a date does not trigger WidgetEvent.
Thanks Julie! I’ll take a look at the examples you provided. I’m experienced in DexExpress but DevExtreme is new to me.
You’ll need the DevExtreme nuget package installed. In Visual Studio, go to “Manage Nuget Packages” and search for Wisej-3-DevExtreme. Once the nuget package is installed, open the designer. In the toolbox, search for “dxCalendar”. You can then drag and drop the dxCalendar from the toolbox into the designer.
For getting it to pay attention when you select a date, attach to the onValueChanged event like so:
dxCalendar1.Instance.onValueChanged += new WidgetEventHandler(dxCalendar1_WidgetEvent);
dxCalendar1_WidgetEvent would look something like this:
private void dxCalendar1_WidgetEvent(object sender, WidgetEventArgs e)
{
AlertBox.Show(
$"{e.Type}
{JSON.Stringify(e.Data)}");
}
Here’s an example from the demobrowser:
https://wisej-demobrowser.azurewebsites.net/DevExtreme/#dxCalendar
Hope this helps,
Julie
Hi William,
we’re an US based company so all our prices are in US $.
Best regards
Frank
Currently the colors in the navigation bar are themed (see NavigationBar.mixin.theme) and in sync between compact and expanded view.
So you either overwrite them in a custom mixin or for testing add this:
Application.Theme.Colors["navbar-background"] = "#FFEF00";
For an example of the Navigationbar mixin see here: https://wisej.com/support/question/navigationbar-mixin-theme-question
Additionally, I’ve added an enhancement request for updating the subitems to use the navbar colors.
I can reproduce. We’ll look into this.
Julie
Thank you, is it possible to set a separate culture for a certain usercontrol or page?
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
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.
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
Thanks Julie,
I don’t understand “within the shared folder”, what is the shared folder…?
Unfortunately, it’s not possible due to browser security restrictions. You can only get the relative path within the shared folder.
Julie
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
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?
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
I can reproduce with the latest 4.0.1 VSIX, we’ll look into this
-Julie
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
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
Hi Gabriele,
this issue is fixed in Wisej.NET 3.5.19 that was just released. Thanks for reporting it.
Best regards
Frank