Hi Alaa.
I don’t have an answer to your question, yet.
Please let me know the current status of the response to your question.
Also, please let us know if the information we have provided is insufficient.
If so, please let us know what is missing.
Hi Huỳnh,
The correct syntax for the filter property would be “description|mime|extension(s)|description|mime|extension(s)…”
For PNG and GIF files this would be “PNG|image/png|.png|GIF|image/gif|.gif”
If you need more info about MimeTypes and their respective extensions, you can head over to Mozilla’s Documentation!
HTH,
Alaa
//
Example implementation of Lottie in Wisej
To elaborate a bit further:
From the examples I’ve seen of Lottie web player (such as this one), it looks like the Lottie web player script is loaded via this url:
https://unpkg.com/@lottiefiles/lottie-player@0.3.0/dist/lottie-player.js
To implement Lottie (or any other similar widget) in Wisej :
-Create a new wisej project
-Under the toolbox, select the “Widget” component. Add a widget to the page.
-Within the widget component, if you click on the box at the top-right corner, you should see “Border Style”, “Packages”, “Init Script”, and “Options”
-Under “Packages”, click “Add” and for the source, put the link to the Lottie web player script https://unpkg.com/@lottiefiles/lottie-player@0.3.0/dist/lottie-player.js. You can give it a name if you like, ie Lottie.
-Under “Init Script” you can type the Javascript code to initialize the widget. This is a bit awkward with Lottie, as the examples I’ve seen (such as this one) used HTML, not Javascript, to create the widget. You could look and see if they have an example where it’s initialized with Javascript, or maybe use something like document.write to get it to run the HTML inside of javascript. Instead of document, use this.widget. Like so:
this.init = function(options) {
// your initialization code.
document = this.widget;
document.write(“<lottie-player src=’https://assets4.lottiefiles.com/datafiles/zc3XRzudyWE36ZBJr7PIkkqq0PFIrIBgp4ojqShI/newAnimation.json’ style = ‘ width: 400px;’ autoplay loop controls></lottie-player>”);
}
-Under “Options”, you can set the options. It is formatted as a JSON file. You will also need to edit the init script so that options is being used to set the options of the widget (ie, you are not manually hard-coding the options in, like I just did- you are using the options variable instead). This might be a bit awkward with Lottie as it looks like the options (speed, loop, autoplay etc) are being set in HTML, so setting the options here via JSON file may not be the best approach.
Hi Vincent,
We’ve noted your enhancement request and it will be available in the next release!
Best,
Alaa
//
Hi Didi,
You can easily integrate most Javascript components into Wisej.NET!
You can find more info about it through our Widget Documentation.
In Wisej.NET, you can use the Widget control to integrate your JavaScript component of choice!
Also, since we do have a lot of open-source extensions, you can browse through the Extension GitHub repository to get an idea of how this kind of integration works!
If you do need additional help, you can take a look at our Professional Support Packages!
HTH,
Alaa
//
Any idea when that will be rolled up to a new “official” release?
Thansk Alaa, I’ve tested the preview version and it works again. Thanks.
@Neil, you need to check the checkbox saying “Include prerelease” in NuGet package manager.
See screenshot
Hi Neil and Vincent,
A new version 3.1.5-preview-1 is out now on NuGet.org
Let me know if the issue is fixed on your applications!
Best,
Alaa
Hi Neil, Vincent,
we could reproduce that issue and are working on a fix. We´ll let you know when it´s available.
Sorry for any inconvenience.
Best regards
Frank
Same here.
I hope it gets fixed soon, I need to revert all my projects back to 3.1.2 now.
Hi David,
enhancement #3025 was added with Wisej.NET 3.1.1
Best regards
Frank
Hi Davide,
with Wisej.NET 3.1.3 license information is available in
Application.License
Best regards
Frank
Hi Jesus,
this issue is fixed in Wisej.NET 3.1.3
Best regards
Frank
Hi Neil, Hi Jesus,
this issue is fixed in Wisej.NET 3.1.3
Best regards
Frank
Hi Neil,
this issue is fixed in Wisej.NET 3.1.3. Please update from nuget and it should now work as expected.
Best regards
Frank
Hi Stephan,
to add to Alaa´s answer:
You can do this either by modifying an existing theme, creating a custom theme or by creating a theme mixin.
Read more: https://docs.wisej.com/theme-builder/
As an alternative option you can also read/write theme properties by code.
For example if you want to get rid of the alternating row colors in a DataGridView you can use code like this:
Application.Theme.Colors["table-row-background-odd"] = Application.Theme.Colors["table-row-background-even"];
Best regards
Frank
Hi Stephan,
You can set the Odd and Even background colors in the ThemeBuilder.
Go to Table Cell -> Odd or Table Cell -> Even and change the color from there!
HTH,
Alaa
Hi Neil,
Thank you for reporting the issue, it’s a confirmed bug and we will let you know as soon as a fix is released!
Best,
Alaa