Hi Cristian,
The Wisej Mobile Application template is deprecated in favor of the new Wisej.NET Hybrid templates (Local / Remote / Client) templates.
You can download them here:
Getting Started – Wisej.NET Hybrid
Best,
Levie
hi Alaa, hi Julie,
installing the latest version of VSIX (3.2.7) did not solve it, while Julie’s suggestion did. Thank you both.
I saw on the page this warning: “We recommend to uninstall Wisej 3.0 using the previous msi installer, otherwise Visual Studio may use the older templates”.
What exactly is meant by this?
Incidentally, I saw that Wisej Auto Updater exposes an Amazon S3 Exception: “Amazon will stop supporting TLS 1.0 and TLS 1.1 connections. Pease update your client…”
How can it be updated?
Best regards.
Antonio Trombi
Hi Antonio,
In addition to what Julie suggested, you would also need to update the VSIX to the latest version.
You can get it from https://wisej.com/builds
HTH,
Alaa
Hello,
As a quick workaround, you can try changing the rendering options in the designer to use Internet Explorer instead of Edge.
I’ve attached a screenshot showing where the rendering options for the designer are located.
-Julie
Follow an example
Hi Alaa,
Thank you for your response.
I completely overlooked the option to create sub-applications…
Best regards,
Hi Marcelo,
I would suggest two options:
However, you’ll have to know that each separate Window or Tab in a browser has its own separate session, as a security feature of Wisej.NET a session can not be shared between Tabs or Windows.
HTH,
Alaa
Hi Sergio,
That’s actually correct, the MenuBar should not trigger those events, since it’s a Menu.
You still have access to the MenuItemClick event and any other event associated with a MenuItem.
May I ask why you would need to use those Pointer events in particular?
Best,
Alaa
Hi Alaa,
Se the sample attached. What I noticed is that the events are fired when we click on the border, but clicking inside the MenuBar, nothing happens…
Thank you in advance!
Sérgio
Try replacing AppDomain.CurrentDomain.BaseDirectory, AppDomain.CurrentDomain.RelativeSearchPath with Application.StartupPath, it’s probably an issue with the StreamWriter and the path.
Let me know if that works
Best,
Alaa
Hi Sergio,
Are you sure that everything is wired? I just tried it and it works!
Perhaps you can send me a sample?
Best,
Alaa
Thanks for your help
I followed the instructions, installed templates, and created a new project with it.
But Visual Studio reports the following error
Unable to find package Managed.System.Drawing with version (>= 3.5.0-beta.27)
Hi Nikos,
You can install the new 3.5 Hybrid templates here:
Getting Started – Wisej.NET Hybrid
They will be available out-of-the-box in Visual Studio when we release the 3.5 VSIX package for Visual Studio Marketplace.
Best,
Levie
What Accelerator?
Hi Julie, thanks for the sample. Your code works fine, however, if you switch the “View” property of the listview to “Details”… It stops working and works as described by me originally. And yes, I am using Wisej 3.2.7
Thank you
Pavel
What version of Wisej are you using? Can you provide a test case?
I tried with Wisej 3.2.7 and I cannot reproduce. See attached sample.
Quick update, the reason the formatting is weird in winforms is because it creates a text column without a format and the default System.ComponentModel.DateTimeConverter strips the time when it’s midnight. Wisej.NET creates a DataGridViewDateTimePickerColumn (it doesn’t exist in WinForms) with a default format of “g”. You can customize it in several ways:
One is to handle ColumnAdded and change the format
private void DataGridView1_ColumnAdded(object sender, DataGridViewColumnEventArgs e) { if (e.Column is DataGridViewDateTimePickerColumn dateColumn) dateColumn.Format = DateTimePickerFormat.Short; }
Another is to override DataGridView.CreateDataGridViewColumnFromType() and create or customize any column.
Thank you for the clarification. See below:
HTH
[Use “d” as the format, see https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings]
I’ve read the date/time formats, but I don’t understand, should I create the DataGridView from code? In WinForms and also in Asp.net the DATE columns are displayed correctly to me, not as DATETIME, why doesn’t this happen with Wisej? If I have to redo all the DataGridView logic it would take too long.
Thank you
Hi Francesco,
I can assure you that the CellFormatting event is indeed working, how exactly are you using it?
This is an example on how you should use it:
private void Dgv_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.ColumnIndex == 0)
{
e.Value = DateTime.Now.ToString("d");
}
}
Best,
Alaa