All Answers

0 votes
In reply to: IISEXPRESS SLOW

Hi Angelo,

what is the performance when you run your project inside Visual Studio in Release Mode?

Best regards
Frank

0 votes

Can you be more specific- what are you struggling with and what questions do you have that could be addressed by additional documentation?

Julie

0 votes
In reply to: IISEXPRESS SLOW

Hi Frank,
When Running in debug mode inside Visual Studio.
If it helps, I’ll briefly describe what the software does when the form opens.
– The form contains a custom datagridview.
– The form’s MyBase.Load event calls the ‘DGV_M_SetColumns‘ method which adds the columns to the grid:

Typical code for adding a column

txtC = New ASNetL.Wsj3.Forms.wDataGridViewTextBoxColumn
FieldName = “prfvcl_targa”
With txtC
.Name = FieldName
.DataPropertyName = FieldName
.HeaderText = “PLATE”
.Width = 150
.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft
.DefaultCellStyle.Format = “”
.ToolTipText = “Vehicle License Plate”
.Visible = True
.FilterEnable = True
.EditModeOnGrid = ASNetL.Wsj.wEnum.EditModeOnGridEnum.NoEditable
‘I add the column to the grid
DGV_M_GRD.Columns.Add(txtC)
End With

– The MyBase.Shown event of the form calls the ‘FILL‘ method which essentially performs the binding of the grid:

PgSQL_Conn = New NpgsqlConnection(ConnStr)
PgSQL_Conn.Open()
DgvData.Clear()
PgSQL_Command.Connection = PgSQL_Conn
PgSQL_Command.CommandText = qry + WhereFlt
PgSQL_Adapter.SelectCommand = PgSQL_Command
PgSQL_Adapter.Fill(DgvData)

dgvBindingSource.DataSource = DgvView
dgv.AutoGenerateColumns = False
dgv.DataSource = dgvBindingSource

In summary, I noticed that the ‘DGV_M_SetColumns’ method slows down the form display (up to 10 seconds). In fact, if it’s commented out (and I don’t call it), the form displays quickly. However, this only happens when running with Visual Studio (IISExpress). If the application is deployed on a server (IIS), everything works without any delays.

Tanks

 

0 votes
In reply to: IISEXPRESS SLOW

Hi Angelo,

what does “open the form” actually mean? Open in the designer or running in debug mode inside Visual Studio?

Best regards
Frank

0 votes

Hi Rusty,

You would need to do the following if you’re aiming to publish using the publishing tools:

Replace <TargetFrameworks> with <TargetFramework> in your csproj file

When the publishing has succeeded, go to your web.config file and make sure that the AspNetCore is the first handler that appears before Wisej’s (it’s easily identifiable by the .wx extension)

And you should be good to go!

Please note that the publishing tool only works with .NET CORE targets (i.e .NET 8.0 and up)

If you want to target .NET Framework 4.8, then please follow the guide here: https://docs.wisej.com/deployment/targets/iis#net-framework

HTH,
Alaa

  • Alaa (ITG) answered Nov 28, 2025 - 9:51 am
  • last active Dec 2, 2025 - 8:29 pm
0 votes

Hello,
Here are some potential solutions:

1. Clear Visual Studio Designer Cache
Sometimes, layout scaling metadata persists.
Close Visual Studio.
Delete all .vs, bin, and obj folders in your solution directory. (I know you already mentioned the bin and obj folders, try deleting the .vs folder as well)
Reopen Visual Studio and rebuild your project.

2. Verify Project DPI Settings

In some cases, the Wisej project file (.csproj) may contain incorrect manifest or scaling settings.
Check your .csproj for: EnableWindowsFormsHighDpiAutoResizing

Wisej uses its own DPI management, so ensure this property is set to false or removed.

3. Windows Display Settings

If you are using two monitors. Ensure both monitors use the same scaling factor (100% or 125%).
Mixed DPI environments can desync the designer render area.

4. Open the Designer.cs file.

Manually set Location = new Point(0, 0) for the main container or top-level panels.

5. Try resetting Visual Studio settings
Open Visual Studio.
Navigate to Tools > Import and Export Settings.
Select “Reset all settings”: in the Import and Export Settings wizard.

 

Hope this helps,

Julie

1 vote
In reply to: datagridview / search

This might a little late for an answer, but I use to search through the DataTable that feeds the grid instead of a direct search within the grid.


string searchText = txtSearch.Text.Trim();
if (searchText != "" && _data != null && _data.Rows.Count > 0)
{
      DataRow[] searchData = _data.Rows.Cast()
.Where(r => r.ItemArray.Any(
c => c.ToString().IndexOf(searchText, StringComparison.OrdinalIgnoreCase) > 0
)).ToArray();
      grdReceivingLogs.DataSource = searchData.CopyToDataTable();
}
else
      grdReceivingLogs.DataSource = _data;

  • Maestro answered Nov 28, 2025 - 11:21 pm
0 votes

Hi Reza,

While we strive to add newer features to Wisej.NET on a regular basis, the RTL enhancements are going to need more time to be implemented!

Make sure to follow our newsletter and blog regularly to stay up to date.

Best,
Alaa

0 votes

Hello Everyone,

We have added a new wizard for adding controls when the ToolBox inevitably fails to bring up the ToolBox items.

With the release of Visual Studio 2026, it appears that this issue is fixed; but for those who are still experiencing it:

1- When in the designer, do a right click on any surface, and choose the “Add a new control” option (attached image 1)

2- A wizard should come up (attached image 2) , select your desired control to add it to the form/page/user control

And you’re good to go!

Best,
Alaa

0 votes

Hi Panda,

Thank you for the support!

We will let you informed when Wisej.NET 4.1 is released, for now, it’s scheduled for Spring 2026, keep an eye out on our newsletter for more info!

Best,
Alaa

0 votes

We provided the solution directly to your team after receiving your code and we already pointed out all the errors in your code and provided the solutions.

0 votes

The fix has been deployed

0 votes

Hi Panda Pan,

this is fixed in Wisej.NET 4.0.4 that was released yesterday.

Best regards
Frank

0 votes

Hi Gabriele,

this is fixed in Wisej.NET 4.0.4 that was released yesterday.

Best regards
Frank

0 votes

This is now fixed in version 4.0.4

0 votes

Instead of setting it in the designer, the way to do it is to set it in code:

((DoughnutOptions)this.chartJS1.Options).CutoutPercentage = 80;

0 votes
In reply to: Visual Studio 2026

Hello,

Wisej.NET supports the latest Visual Studio 2026, you can install the latest VSIX from https://wisej.com/builds/

Best,
Alaa

0 votes

Hi Brayden,

could you please set up a small test case that shows this behavior and that we can use to track it down / explain it further?

Best regards
Frank

0 votes

Hi Tim,

I’ve attached a sample. This is by no means good code but it shows the blur effect and the triple cell.

I don’t have time to actually spend more time on create a demo haha.

You need the theme that is included for the blureffect to work. Just take a look inside figure out what I did to make the blur work.

Cheers,

Vincent

  • Vincent answered Nov 14, 2025 - 2:37 pm
Showing 61 - 80 of 11k results