All Answers

0 votes

Very good!
After I installed libdgiplus from EPEL, the Wisej3 program can be accessed normally.

“`
# sudo yum -y install libgdiplus
# whereis dotnet
dotnet: /usr/bin/dotnet /usr/share/dotnet
# whereis libgdiplus
libgdiplus:

“`

  • dev answered May 27, 2022 - 4:18 am
0 votes

Thanks Alaa

It’s work nice

0 votes
In reply to: Remove Default Loading

Hi Ruben
You can customize your startup modifying default.html with HTML/CSS
Is web design stuff
I attach a sample that can use to replace your default.html page and starting make your custom changes

More over, you can use loaderTimeout for adjust the time is showing the ajack loader. link documentation
HTH

  • Paul answered May 26, 2022 - 4:28 pm
  • last active May 26, 2022 - 7:23 pm
0 votes

Hi Angelo,

You’ll need to select the “Table Scroller” component in the Theme builder, and from there you can see the “Focus Indicator” component where you can change it’s color.

HTH,
Alaa

0 votes

Hi Vincent,

So the issue is that you’re binding the visible property using bidirectional binding, so when the tab hides the bound controls the changing of the visibility property updates the DataSource, and actually that’s correct.

So what you’ll need to do is to use monodirectional binding like this :
PictureBox_HW.DataBindings.Add(New Wisej.Web.Binding("Visible", DS, "IsHW", True, DataSourceUpdateMode.Never))

But we found a bug related to that and it should be fixed in the next build.

Fortunately, there’s a couple of workarounds for it, what you can do is :

  • Derive the PictureBox and Label and add a VisibleBindable property that doesn’t have a VisibleBindableChanged event
  • Override OnVisibleChanged and don’t fire the event

I have modified your sample slightly just to showcase the temporary fix.

HTH,
Alaa

0 votes

Hello,

You’ll need to install libgdiplus to be able to run the application.

For CentOS, you‘ll need to install the EPEL packages first.

HTH,
Alaa

0 votes

Hi, I’ve added a sample project.

Steps to reproduce the issue:

  1. Run the application
  2. Make the browser full screen/maximized
  3. Notice all the icons are showing
  4. navigate to tab page 2 or 3
  5. Click the maximize window button of the browser again to restore it to it’s previous size
  6. Open Tab 1 again. Notice how icons have dissapeared.

 

  • Vincent answered May 26, 2022 - 9:30 am
0 votes

Hi Vincent,

Can you please check if you have any errors in your browser’s console ?

Also, it would be better if you can put together a small sample for us to try and reproduce.

Best,

Alaa

1 vote

Hi Nicholas,

Just use Checkbox and change appearance property to Switch and it’s done.

Happy Coding,

Kevin(ITG)

  • Kevin answered May 24, 2022 - 6:26 pm
0 votes

Hi Sascha,

Thanks for reporting this error, it will be solved in the next version.

Happy coding,

Kevin(ITG)

  • Kevin answered May 24, 2022 - 2:16 pm
0 votes

Hi
In vb.net code you must replace
EventArgs
by
System.ComponentModel.HandledEventArgs

And the error must gone

Was a typo error in the documentation page, by the way in c# sample has correct code

Thanks for comment

  • Paul answered May 24, 2022 - 5:54 am
  • last active May 24, 2022 - 5:54 am
0 votes

Hi Muhammed

If You need use other NEt48 assemblies in your project, You need to start with the WisejNet templates for .NetFramework

If You select these other templates (C#, macOS, Linux, Windows, Web, Wisej) . Your project uses .NET6 and NEt48 is used only for designer in visual studio, but can’t reference Net48 assemblies

Full details in the documentation of WisejNET

  • Paul answered May 24, 2022 - 5:08 am
0 votes

Hi Kevin (ITG)

The process I wanted to know about is not Wisej.NET<–>JavsScript integration.
Browser control (WebView2) into a WindowsForms application.
* https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms
NET in the browser control from a program that incorporates the browser control into a WindowsForms application.
I would like to know how to link WinFormsApp(WebView2)<–>Wisej.NET.

1 vote

Hi

For customize the datagridcells, the recommended approaching is use html with div into it using CellFormating event like this

e.Value = $"<div style='height:100%'><div style='background-color:yellow;width:{value}%;height:100%'></div>" +
$"<div style='width:100%;left:0px;top:0px;position:absolute;text-align:center;top:50%;transform:translateY(-50%);'>{value}%</div></div>";

it’s all plain html and it requires a good amount of trial and error

I attach a runnable sample with also showing the use of splitContainer control for the other question

HTH

  • Paul answered May 23, 2022 - 10:18 pm
1 vote

Nicholas

We are checking this and back you to comment about it

thanks for your feedback

  • Paul answered May 23, 2022 - 5:43 pm
0 votes

Hi Nicholas

We are checking  what your comment us
for be shure, Are you using the datagrid property AutoSizeColumnsMode seted to Fill?

Regards

  • Paul answered May 23, 2022 - 5:08 pm
0 votes

Hi Branko
We has a enhancement in the RibbonBar extension that has the functionality that You feedback to us.
It use a new property CompactView, that simplify all the stuff.

For now is available con GitHub. You must download the code, compiled it and reference from your project. You must reference the aseembly for Net48 and remove the reference from Nuget for only this extension.
Whit the new release of WisejNET, will be available on Nuget too.

I attach a new sample that use the enhancement.

Thanks for your feedback

  • Paul answered May 23, 2022 - 4:42 pm
  • last active May 23, 2022 - 4:47 pm
0 votes

Hi Takao,

For executing Javascript you can check this link JavaScript – Wisej.NET and https://docs.wisej.com/docs/concepts/javascript

And below for sample

You can check also Widget for custom library if ours extensions are not sufficient.

Happy coding,

Kevin(ITG)

  • Kevin answered May 23, 2022 - 3:38 pm
0 votes
In reply to: DatagridView

Creating a page project, even empty, the error comes out

0 votes

Hi Adrian,

The Publishing tool is broken for SDK type projects.

It’s not a Wisej issue, what you can do is move everything except the Default.html, Default.json, Web.config into a /bin folder manually.
If you decide to use .NET6 however, it should work out of the box!

Please head-over to : https://docs.wisej.com/deployment for more info.

HTH,

Alaa

Showing 2541 - 2560 of 11k results