Hi Francesco,
While this project does not contain many forms as you mentioned, there are still many customizations. The issue the project is displaying is related to one of the third-party dependencies added to the project (“ChilkatDotNet48”). I would suggest removing all unnecessary references from the project.
Additionally, there appear to be many customizations made within the Web.config file related to CrystalReports, AssemblyBindings, custom HttpHandlers, and more.
Your best bet is to start with a fresh working project template and start adding features until you can diagnose what functionality related to the dependency caused the application to break.
In summary, this is not a Wisej.NET issue, but we would be happy to diagnose and treat the issue for you with the purchase of consulting packages.
Best regards,
Levie
There are two steps to this:
1.Get the user’s location using Wisej Hybrid. Note that this will only work in a Hybrid application, not a regular Wisej application.
Hybrid documentation on location: https://docs.wisej.com/hybrid/start/api/location
var location = Device.Geolocation..GetLocation()
Note that if this code is not working, you may need to request to the user that they enable location permissions:
Device.Permissions.Request(PermissionType.LocationWhenInUse);
Device Permissions documentation: https://docs.wisej.com/hybrid/start/api/permissions/wisej.hybrid.devicepermissions
2. Display the user’s location using the Google Maps extension.
I believe that the Google Maps extension doesn’t currently have a blue location dot implemented that looks like the one in your picture.
Some options:
– You could use a marker instead
this.googleMap1.AddMarker("Marker1", latitude, longitude)
//where latitude and longitude are doubles
documentation on AddMarker function: https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.googlemap#addmarker-markerid-lat-lng-options-center
– You could run some javascript code, similar to this:
https://developers.google.com/maps/documentation/javascript/examples/map-geolocation
Or this:
https://stackoverflow.com/questions/30440777/show-blue-dots-icon-on-current-location-google-maps
For information on calling JavaScript functions from C#, you can use the Call() and Eval() functions, see here: https://docs.wisej.com/docs/concepts/javascript
We use monserrat and many other fonts without issues regularly. To autosize on the server the font must be installed on the server as well. See theme and fonts section in our docs. There is also a way to use a font without installing it.
If is you still see an issue attach a test case and your custom font as a ttf.
CKEditor is not our product. Please refer to their documentation and support.
Here is a sample:
You might find this helpful: https://wisej.com/blog/integration1/
In startup.js, you do this:
var id = this.getId() + "_timeline";
this.Timeline = this.widget = $("#" + id);
this.Timeline.Timeline(window.tlOpts);
But you need to do this instead:
$(this.container).Timeline(window.tlOpts);
Also, something to keep in mind as you work on this: You’ll need to clear the cache every time you change the code in the startup.js file. Otherwise, it will use the old code.
If you want to do this yourself:
You could create a custom UserControl based on the ListView with the additional functionality you want: https://docs.wisej.com/examples/examples/usercontrol
You could even create it as an extension: https://docs.wisej.com/extensions/introduction/extension-types
In the meantime, I’ve logged it as an enhancement request, but it’s not a high priority.
Nested datarepeaters are not supported.
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
//