All Answers

0 votes

Yes, it is possible to use the Theme Builder to add simple css animations.
https://docs.wisej.com/theme-builder/concepts/tips-and-tricks#animations

0 votes

I think I’ve now found the problem for omitting input in text boxes myself. A timer with a 500ms interval runs in the program. If I increase the timer to 2000ms it takes all inputs.

0 votes

Hi Praveena,

We stopped supporting .NET Framework 4.7.2 and below starting from Wisej.NET version 2.5.

From 2.5 up to 3.5, the minimum requirement for .NET Framework is version 4.8.

Best regards,
Alaa

//

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

Showing 641 - 660 of 11k results