I managed to get display working and timeline control is now displayed in wisej control.
I am now struggling how to expose: startDatetime, endDatetime, sidebar.list, rows and eventData. they are all set in window.tlOpts and I would like to define them as control properties.
I have updated code so that I can see that javascript works (references were missing as well as jQuery.min.js)
Now I can see that code from startup.js is executing and background is changed from code.
but still timeline control is not showing up.
My guess is that the “Devexpress.x.dll could not added to project” error comes from the project trying to reference an assembly directly- either the assembly doesn’t exist, or it’s looking in the wrong place for it.
Possible solutions:
1. Instead of adding the assembly directly, add the Nuget package for DevExpress.
In Visual Studio, in the Solution Explorer, right-click on the project (ie “WisejWebApplication1”) and choose “Manage NuGet packages.
Go to the “Browse” tab and search for “wisej devexpress”. Select the “Wisej-3-DevExtreme” NuGet package and install it.
2. Manually add the assembly reference
Right-click on “Dependencies”
Choose “Add Assembly reference”
Choose “Browse”
Navigate to the folder on your computer containing Devexpress.x.dll and select it.
As for the terminology for the difference in project types, you will find it helpful to look at the .csproj file.
You can open the .csproj file by right-clicking on the project (ie “WisejWebApplication1”) in the Solution Explorer. Then choose “Edit Project file”
You might find this helpful: https://docs.wisej.com/docs/releases/whats-new-in-3.0/update-existing-projects
The devextrene grid widget is a wonderful javascript conponent that you can fully use in any web environment, including Wisej.NET. You need to use it as devexpress intended you to use it.
See our demo application online and on github with source code. demo.wisej.net. Select the premium extensions and select devexpress to see it in action.
Refer to the devextreme documentation for their api and configuration options. It’s all just plain and simple javascript and json.
If you want to use the FlexLayoutPanel: Set the LayoutStyle to Vertical. Create a panel as a child of the FlexLayoutPanel for the Email Password and Login fields. For the “Some heading” and the “footer”, create child panels for the FlexLayoutPanel
For using OpenGL with Wisej, you can use the OpenGL browser api. See the mozilla webgl javascript api: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API
You’ll do this by calling javascript code from a Wisej project. For more information on how to do that, see here: https://docs.wisej.com/docs/concepts/javascript and here: https://docs.wisej.com/docs/controls/content/widget
For OpenTK, it is written in C#, so you can just add the OpenTK nuget package to a Wisej project: https://www.nuget.org/packages/OpenTK/
Note that OpenTK for .NET 5+ is in active development, but is not yet stable. You might want to use an older version of .NET in your project if you plan to use OpenTK: https://opentk.net/
As for other libraries, you can consider the SAP viewer: https://wisej.com/support/question/wpf-and-xaml
Screenshots
Hi Nicholas,
did you follow all the steps here?
https://docs.wisej.com/docs/getting-started-1/troubleshooting
Best regards,
Frank
Hi Nicholas,
this forum is the place to send feature wishes as well. We’ll verify them and log enhancement requests if applicable.
Best regards
Frank
Here is some sample code in Visual Basic:
Dim imageData As Image = Await ChartJS1.GetImageAsync()
imageData.Save(".\Images\image.png", ImageFormat.Png)
AlertBox.Show("image saved")
I’ve also attached a sample.
Hello Tom-Lucas,
You can check out this sample we have on our DemoBrowser application: https://demo.wisej.net/#Extensions/ChartJS/Line
The source code is also public, you can check it out from here: https://github.com/iceteagroup/Wisej-DemoBrowser/
Best,
Alaa
//
Hi Nicholas,
did you install the lastest VSIX? You can get it from here
Best regards
Frank
Yep! That did the trick!
Thank you, Frank.
Alex
Hi Alex,
can you please try to “Clean” your project, close Visual Studio, delete obj and bin directory and restart VS?
Maybe something is cached?
Best regards
Frank
Hi Frank! That was fast !
Please check the screenshots for versions. The project with 3.5.* is the new one I just added, but it says installed 3.5.4. The extension is also 3.5.4. The Wisej-MobileIntegration is at version 3.2.8, but I don’t see a new version for that (actually I don’t know where that was used, it was there in my old solution).
Alex
Hi Alex,
please make sure to update your Wisej.NET nuget package and the VSIX to the latest version (3.5.4).
Best regards
Frank
With the last version 3.5.4. it works on my dev environment.
You can use Visual Studio on a Mac to create Wisej applications.
