All Answers

0 votes

Hi Mirko,

Wisej.NET 3.5.5 was released today.

Best regards
Frank

0 votes

Hi Levie,

thank your for your help. it works now.

another question: is it possible to get source code of your Wisej.NET Haybrid App (see screen shot attached)?

Kind regards

Werner

 

0 votes

Hi Werner,

Did you register the MLKit middlware in the Hybrid Client’s Startup class? It will look like this:
untitled

If you attach a small and compilable sample project we’re happy to take a look for you.

Best,
Levie

0 votes
In reply to: PDF.JS version 4

Simple fix found; in web.config <system.webServer> section, add this:

        <staticContent>
            <remove fileExtension=".mjs" />
            <mimeMap fileExtension=".mjs" mimeType="application/javascript" />
        </staticContent>
I have spent 4 hours trying to figure this out and found it by searching for how to handle MJS files in IIS.
0 votes

Works fine in our browser and with your demo app, but not with ours. I think it may be a clash with the theme we have.

If Roboto is installed on the server, do we need to specify it as a source using the data:font or can we just use Roboto? I’ve attached a screen shot.

0 votes

Since you’re using html, it likely has nothing to do with Wisej. Try to set the font to bold Roboto with a simple html page and see if you get the same result.

If it’s also not working with a html page, you can download Roboto here: https://fonts.google.com/selection?query=roboto Make sure to unzip the file and right-click “install”, especially on “Roboto-Bold.ttf”

Font installation instructions: https://support.microsoft.com/en-us/office/add-a-font-b7c5f17c-4426-4b53-967f-455339c564c1

After installing Roboto on my machine, it works for me, in both a simple HTML page and in a Wisej project.

I’ve included a zip file with the test html page and the test Wisej project.

0 votes

Thank you but I’ve done.
The problem was in the class that define the binding-source, the fields aren’t not define as property:

Class with error:

Public Class mioProdotto
Public idProdotto As Long
Public codProdotto As String
Public descrProdotto As String
End Class

Correct class:

Public Class mioProdotto
Public Property idProdotto As Long
Public Property codProdotto As String
Public Property descrProdotto As String
End Class

Giorgia

 

0 votes

Still not solved? MessageBox is extremely small on mobile.

0 votes

Hi Giorgia,

in order to check this issue we need a small compilable repro case, see our forum guidelines.

Thanks in advance,
Frank

0 votes
In reply to: Wisej markup language

It is similar to .NET MAUI Markup, but for Wisej.
See https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/markup/markup

Basically, properties become methods. It allows you to write the same amount of code, but type less.

For example, this Wisej Markup code would create a Page with a SplitContainer containing a Panel with a TreeView.

public Page1()
{
InitializeComponent();
this.Text("Main Window")
.MinimumSize(800, 600)
.Controls(
new SplitContainer()
.Dock(DockStyle.Fill)
.Panel1(
new TreeView()
.Dock(DockStyle.Fill)
.Nodes(
new TreeNode("Node 1")
.Nodes(
new TreeNode("Node 1.1"),
new TreeNode("Node 1.2")
)
)
)
)
.Show();
}

-Julie

0 votes
In reply to: Scroll in datagridview

Can you please provide a test case? Please follow the guidelines here: https://wisej.com/support/question/forum-guidelines under “Before Posting an Issue”

Thanks,
Julie

0 votes

I would not recommend using htmlpanel. Instead, use the chartJS extension. It is a nuget package. In Solution Explorer, right-click, choose “Manage Nuget Packages”, and search for “Wisej ChartJS”.

The code to add data and labels to a chartJS chart looks like this:

object[] array1 = new object[] { 1, 3, 5, 7, 9 };
chartJS1.DataSets.Add("Data Set").Data = array1;
chartJS1.Labels = new string[] {
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"};

See attached sample project.

Hope this helps!
-Julie

  • Julie(ITG) answered Mar 18, 2024 - 8:05 pm
  • last active Mar 18, 2024 - 8:05 pm
0 votes

Hi Neil,

please find a simple sample attached that does what you described.
For more information about the AceEditor please refer to their documentation.

Best regards
Frank

1 vote

You can see an example of the Combobox in AutoCompleteMode in the demobrowser here:
https://wisej-demobrowser.azurewebsites.net/#Editors/ComboBox/Auto%20Complete (In the demobrowser menu on the left, expand “ComboBox” and then choose “Auto Complete”)

The source code for the Combobox in the demobrowser is here: https://github.com/iceteagroup/wisej-demobrowser/tree/main/Demos/Editors/Wisej.DemoBrowser.ComboBox Specifically, look at the files AutoComplete.cs and AutoComplete.Designer.cs

In the demobrowser example, this is how items are added to the combobox:
this.comboBox1.Items.AddRange(new object[] {
"Aberdeen",
"Abilene",
"Columbus"});

-Julie

0 votes

Hi, I’m on Wisej 3.1.6 and the same version on the server. Websockets are installed. Small repro is attached, Thank you

  • Guest answered Mar 14, 2024 - 5:59 pm
0 votes

Hi Roberto,

The code should basically work the some on the server as in localhost.
Can you please put up a small repro case for us?
Are you running the same Wisej.NET versions on both? Do both have websockets installed?

Best regards
Frank

0 votes

Hello,

Unfortunately, it’s not possible to access the client’s printers directly in Wisej. That’s not a limitation specific to Wisej- it’s not possible to access printers directly via javascript in any browser.

You would have to go through some sort of print preview, which would list the printers that the client has and give you a button that you can click to print.
Here are some options:
-The PrintPreview Extension https://github.com/iceteagroup/wisej-extensions/tree/3.5/Wisej.Web.Ext.PrintPreview
-Application.Print https://docs.wisej.com/docs/controls/general/application#printing

This forum post has some sample C# code for the PrintPreview extension, which you may find helpful: https://wisej.com/support/question/printdocument-preview-and-print

Hope this helps,
Julie

0 votes

Thanks Julie!  I’ll go that route.  For what it’s worth, I have been slowly adding pieces of my broken app to a fresh project.  I can’t make it fail.

Thanks again!

Gerry

0 votes

Hi Julie,

Thanks for the response!  I have been trying to reproduce this issue in a new and much smaller project, small enough, that I could upload to your forum.  My app relies on a couple of large dependencies which once stripped would render a test project unusable.  I’m still trying to reproduce the problem without the full weight of my program but so far cannot reproduce the problem in a new project.   Anticipating that this may be a nebulous issue, I decided to simply step back to a version that had worked fine and had no issues by cloning my backup from GitHub.  The result was that that version, once run, exhibited all the same problems despite the fact that it ran perfectly 4 days ago.

I’m thinking this is not a code issue on my part but I have no idea where to begin.  Not only will the project not run but there are now issues with controls losing their reference to Wisej.  In particular, the Upload control shows a conflict with a Chilkat reference and I can’t even look at the form in the Design View.

The problem has cascaded.

I realize you have changed your business model to a subscription format including support.  I plan on switching to Wisej 3 but am cautious since my app is complex and I was hoping to share it with some investors to show its capability soon and didn’t want to delay that dealing with upgrade issues.

I’m willing to pay for support, perhaps with a live sharing of my screen with a tech.

Please let me know how we can work on this more directly.

Thanks very much!

Gerry

0 votes

“Could you provide a small sample, of how to correctly use the ChartJS extension in this regard?”

Unfortunately, creating custom samples from scratch is outside the scope of the services we offer on this free support forum.
You can either look at the pre-existing ChartJS samples here:
https://docs.wisej.com/examples/examples/chartjs
https://wisej-demobrowser.azurewebsites.net/#Extensions/ChartJS/Features

Or you will need to provide a small sample, following the guidelines under “Before Posting an Issue” here: https://wisej.com/support/question/forum-guidelines In your case, this would be a sample that uses ChartJS, and has Time on the x-axis in a 12-hour format (am/pm).

Alternatively, we can develop a sample from scratch for you, if you purchase a support package: https://docs.wisej.com/license/services/professional-services

Hope this helps,

Julie

Showing 741 - 760 of 11k results