Hi
could be possible that send us a minimal sample project whit the error?
We can´t reproduce it yet 🙁
Best regards
Hi Vincet
Thanks for report us this issue
It was fixed and be available in next build release
Regards and happy coding
I downloaded last version from github (DevExtreme-21_1) but I cant find DevExpress library.
Which library is DevExpress library?
Thank you!
The DevExpress library has to be loaded. The browser my take a while to load it. Wisej cannot change the way browsers work. You can add the devexpress libraries to the Default.html page in script tags (these are the only scripts the browser loads synchronously) or add the to call to the DevExpress wrapped widget InitScript, or use the latest library in Github, see source code, it sets the language using the document.body.lang attribute.
as workaround I added this to init 🙁
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
this.editor.e.body.addEventListener("input", function () {
var newText = me.getText();
if (savedText != newText) {
me.setDirty(true);
savedText = newText;
}});
};
I hope for a better solution
blur event is not supported in Firefox?
I have a similar question, I have a list view and I want to upload a file with the drag and drop, I have checked the Levi’s sample project but I still don’t know how to save the file, all I could do is get the file name(not the full path), and I wanted to convert the dragged file into a byte array, I hope it is possible to do so.
Thanks in advance!
Hi Luca, i tried the solution you said, in the Project attached before.
I moved the lock(_events) in the click event for the button like so
private void button2_Click(object sender, EventArgs e)
{
lock (_events)
{
UpdateCalendar();
}
}
But it still doesn’t work and the exception still shows up.
Try to lock the Events collection when you update it in the other thread. What’s happening is that the task is altering the events collection while the data read handler is returning it to the client. In the Wisej extension the data read handler is synchronized on the Events collection.
Something went wrong…
I tried:
Application.Eval(“DevExpress.localization.locale(‘de’);”)
Application.Eval(“DevExpress.localization.locale(‘de’)”)
But I received an error message: DevExpress is not defined. What is wrong.
Please find image attached.
Can you assist with a C# code implementation of a fully managed code FOSS GIS engine/toolset?
https://github.com/Opzet/SimpleMap is a FOSS (open-source) C# code implementation of a fully managed code GIS engine that will be compatible with WiseJ WebAssembly.
This GIS engine is the only fully managed codebase out there, all others rely on complex >500Mb Proj4 dlls which are unmanaged code that cannot be used in Dot Net Core 5.0.
SimpleMap is compatible with wisej requirements of a smaller footprint and also a fully managed codebase with GDI rendering, will be a game changer and simplify GIS work in Web Assy
The code compiles and has working examples, and will easily port onto Wisej once all functions are complete in Winform.
Need your help as the Georeference isn’t complete nor is the raster layer loader, the framework is there, the missing transforms etc can be referenced from MapWinGis/SharpMap/QGIS etc projects
Can you assist by contributing to a FOSS -Free Open Source Software GIS development toolset that will benefit others too?
Something like this?
Simply set the colors and the icons. You can turn off the grid, change the alignment, all in C# and the designer. If the checkbox has to be a switch, make it an image column and switch it on click. I used the VisualStudio icon extension that we provide with more than 4,600 embedded icons.
So just a grid with a taller header, taller row heights, and dark background? Try the graphite theme. For the header size you can set the height property, same for the row height. The icons are just icons, you can place them in a cell.
Also an error description would be useful.
The first exception means that the control that was active before the message box was shown is not hidden and a hidden control cannot be activated.
The second it’s probably your thread that is removing a data item without update the index. These are the risks of running background thread that update controls without any synchronization.
The best way to find out which part of the code are causing the issue is to enable the exceptions in Visual Studio, it will break where the exception is thrown and you can try to inspect your objects.
Hi Stefano,
I couldn’t reproduce this issue, can you please send a sample?
Thanks,
Alaa
Hi Edmond,
You can always use the Wisej ThemeBuilder to customize how your app would look and feel.
You can of course use Pages instead of Windows to make your application feel like a modern web application style-wise.
You can also use Google Fonts, it’s already there in the ThemeBuilder, select the fonts property from the Components panel (Top Right) and then click on the “+” button, from there select any font that you have installed on your machine otherwise you can select a font from Google Fonts.
The catch is that you have to download and install the .ttf file if the font isn’t already available on the server.
Hope this helps.
Best regards,
Alaa
Hi Edmond,
The ClientProfiles.json file you’re referring to is used to override the already existing profile rules, thus you’ll have to manually add it.
Here’s an example for the content inside the file:
{
"profiles": [
{
"name": "Phone",
"maxWidth": 450
},
{
"name": "Phone (Landscape)",
"landscape": true,
"maxWidth": 600
},
{
"name": "Tablet",
"maxWidth": 800
},
{
"name": "Tablet (Landscape)",
"landscape": true,
"maxWidth": 1024
}
]
}
To read the properties of the device use Application.Browser.
You can also check if the profile has changed when you work with the device emulator in Chrome’s developer tools with the ResponsiveProfileChanged event.
Best regards,
Alaa
How to call DevExpress.localization.locale(“{lang}”) as I do not find such DevExpress namespace in your DevExpress extention.
Would you please write a line of sample code?
Please find image attached.
Thank you!
Thank you!
Wisej default.json do not work for my scenario as I need locale change in runtime, in order my customers being able to change interface language with a click of a button.
I will play with the rest of your solution.
May I contact DevExpress for support as well, as I have big problems with their DataGrid API usage scenario. They said that they need some example of my data grid usage project. So I have to send them demo project with your DevExpress extention. Is it OK with you?
Soon I will post some more questions about DevExpress API and usage scenario here in your forum, but for now I try manage it by myself.
Best whishes!
Mariyan
