All Answers

0 votes

Hi

could be possible that send us a  minimal sample project whit the error?

We can´t reproduce it yet 🙁

Best regards

  • Paul answered Apr 23, 2021 - 9:41 pm
0 votes

Hi Vincet

Thanks for report us this issue

It was fixed and be available in next build release

Regards and happy coding

  • Paul answered Apr 23, 2021 - 9:26 pm
0 votes

I downloaded last version from github (DevExtreme-21_1) but I cant find  DevExpress library.

Which  library is DevExpress library?

Thank you!

  • mgmst answered Apr 23, 2021 - 7:42 pm
0 votes

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.

  • Luca answered Apr 23, 2021 - 6:47 pm
0 votes

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

 

0 votes

blur event is not supported in Firefox?

0 votes
In reply to: Drag and Drop utiliry

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!

0 votes

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.

 

0 votes

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.

  • Luca answered Apr 22, 2021 - 4:53 pm
0 votes

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.

  • mgmst answered Apr 22, 2021 - 1:50 am
0 votes
In reply to: ArcGis Integration?

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?

  • David answered Apr 21, 2021 - 9:43 am
0 votes
In reply to: Nice listview

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.

  • Luca answered Apr 21, 2021 - 12:27 am
0 votes
In reply to: Nice listview

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.

  • Luca answered Apr 20, 2021 - 11:02 pm
0 votes

Also an error description would be useful.

  • Luca answered Apr 20, 2021 - 10:59 pm
0 votes
In reply to: ThreadException

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.

  • Luca answered Apr 20, 2021 - 10:57 pm
0 votes

Hi Stefano,

I couldn’t reproduce this issue, can you please send a sample?

Thanks,
Alaa

0 votes
In reply to: Application Styling

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

0 votes

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

0 votes

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!

  • mgmst answered Apr 20, 2021 - 1:35 pm
0 votes

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

  • mgmst answered Apr 20, 2021 - 1:26 pm
Showing 3841 - 3860 of 11k results