All Answers

0 votes
In reply to: Rotate image

Hi Adrian,

If you want to use Wisej for rotation, we have an extender https://docs.wisej.com/docs/controls/extenders/rotation for that:

– For Rotation : this.rotation1.GetRotation(this.pictureBox1).RotateZ += 20;

-For Scale (Zoom) : this.rotation1.GetRotation(this.pictureBox1).ScaleX += 20;this.rotation1.GetRotation(this.pictureBox1).ScaleY += 20; this.rotation1.GetRotation(this.pictureBox1).ScaleZ += 20;

If you want to apply effect directly on Bitmap, Check this link for more details https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.rotateflip?view=dotnet-plat-ext-6.0

Happy Coding,

Kevin(ITG)

  • Kevin answered Sep 11, 2022 - 7:41 pm
  • last active Sep 11, 2022 - 7:43 pm
0 votes

Hi Andrew,

do you have a URL where we can try that? Or could you wrap up the code in a test case?
You can either post here or send it to supportATwisej.com if it contains private information.

Did you have a chance to test with an IOS device?

Best regards
Frank

0 votes
In reply to: GoogleMaps doubleclick

Hi Adrian,

I did some research and found a property that could be set to true to disable the default behavior on double click (zooming)

 disableDoubleClickZoom

Maybe it helps? Otherwise please wrap up a small sample that we can try to find a solution.

Best regards
Frank

0 votes

Hi Adrian,

Can you send us a sample code?

Best,

Kevin(ITG)

  • Kevin answered Sep 10, 2022 - 10:26 pm
0 votes

Hi Tiziano,

The issue is that you’ll have to specify the target framework and runtime for the “dotnet publish” command!

The fix would be the following:

dotnet publish -f “MyProject.csproj” -c Release -o /app/publish —framework net6.0 —runtime linux-x64 

You don’t have to fiddle with the .csproj files, it’s not a Wisej.NET issue!

You can take a look at all the Target Frameworks Identifiers here: https://docs.microsoft.com/en-us/dotnet/standard/frameworks

 

And the Runtime Identifiers from here: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog

From there you can containerize your app and use it in GitLab!

HTH,

Alaa

  • Alaa (ITG) answered Sep 9, 2022 - 10:01 am
  • last active Sep 9, 2022 - 11:05 am
0 votes

We removed the change because it created more problems. We tried the nested CSLA data source directly with WPF and it doesn’t work there either.

IBindingList is part of System.ComponentModel (used by winforms) and it’s more flexible that INotifyCollectionChanged (part of System.Collections.Specialized, and used by WPF with a lot of limitations). Neither of those is specific to Winforms or WPF. Wisej.NET  now supports both. The problem with your sample is using child BindingSource bound to another child BindingSource and then to another that returns a list from another source CSLA (outside of our control) that mixes things. If we try directly with BindingList<> and ObservableCollection<> it works fine. Our DataGridView (not winforms) is an order of magnitude more integrated with server features and data binding than any other web grid.

We also tried Csla.ApplicationContext.PropertyChangedMode = Csla.ApplicationContext.PropertyChangedModes.Xaml and it seems to work also with child of child, etc. Except it still doesn’t work correctly with plain WPF but it’s not our concerm.

  • Luca answered Sep 8, 2022 - 1:04 pm
0 votes

Hi,

I updated to 3.1.1. Looks like the change is gone?

Anyhow, I would rather be using the WPF databinding model. It’s a more modern/better way of doing databinding compared to the ancient WinForms model.

You can instruct CSLA to do this with this code (It is default value so it is actually not needed):

Csla.ApplicationContext.PropertyChangedMode = Csla.ApplicationContext.PropertyChangedModes.Xaml;

And that seems to be working very fine. No problem when adding or deleting rows.

But there is one problem and the reason why I’m using the Windows forms mode. Csla.ApplicationContext.PropertyChangedModes.Windows
Look in this thread:
https://wisej.com/support/question/datagridview-focus-jumps-to-the-first-column-after-editing-a-cell
I think it is the sole reason why I’m using Csla.ApplicationContext.PropertyChangedModes.Windows

I have provided a new sample code. This time it also contains a WinForms project for reference. The WinForms project has all sorts of problems, including the old WinForms DataGridView that no one should be using anymore. But I hope that Wisej is striving to be a better Choice. Not mimicking all problems in WinForms. I use the grid from DevExpress and it handles the problems.

I have also discovered another problem. When you delete all sons. When the last Son i deleted the cildren do not go away. This is also a problem when using Xaml (WPF) mode.
Best regards,
Wilfred

1 vote

Hi Gabriele

Please, could you send us a runnable sample with the issue?

In our internal test we checked that the error was in 3.0.14 but not in 3.0.17

Thanks and regards

  • Paul answered Sep 7, 2022 - 1:50 pm
0 votes

I’m sorry but same problem with 3,0.17.

2 votes

Hi Matthew,

actually my previous reply was wrong as I mixed ClientEvent with ClickEvent and misunderstood your question.

Seeing the sender always the form is because it´s always the form firing that event (.NET convention).

But, you can use the DialogResult property of the button. Clicking on the “X” to close the window always results in DialogResult = None.
If you assign a DialogResult value to the button property, you´ll see it in the FormClosing event.

Please find a simple sample attached that shows how it works.

Best regards
Frank

0 votes

Hi Matthew,

this.close() on the client (browser) is always considered a user event so it’s UserClosing.
Maybe you can add some custom property/flag that you trigger when your user clicks on the Exit button?

Best regards
Frank

0 votes

Hi

You cant test your own notifications using our demo app.
But for firebase / APNs keys, you must have your owns

In the docs there are all the info that you need
https://docs.wisej.com/mobile/guides/push-notifications

And important notice that the 2.5 free build is deprecated.
Here more details about mobile packages in Wisej.NET

Licenses Model 2022 – Mobile Packages

Regards

  • Paul answered Sep 6, 2022 - 3:35 pm
0 votes

Dino,

this is not possible. LoadComponent can load from a different assembly but not from an url.
A related option would be to use an iframe where you could include a URL but it may not exactly be what you´re looing after.

Best regards
Frank

0 votes

Hi Kizaemon,

thanks for letting us know. I have consolidated it under a single bullet point.

Best regards
Frank

0 votes

if I understand correctly LoadComponent() will load from current assembly (requires file name).

I am wondering if we can have portal.example.com and component1.example.com, so that from portal I can reference component1 using uri?

Thanx,

D

0 votes

Hi Dino,

using Microservices with Wisej is fine, it works like with any other app.
You might also want to look at Application.LoadComponent as an alternative way to dynamically load a control.

Best regards
Frank

0 votes

Hi Alex,

I have tested your sample (thanks!) with our latest internal Wisej build that is currently in QA and this issue appears to be fixed there.
I run a couple of more tests to make sure but please expect it to be fixed with the next release.

Best regards
Frank

0 votes

Hi Jevaso

Thanks for write us

I comment you soon about your question

Best regards

  • Paul answered Sep 5, 2022 - 2:32 pm
0 votes

Hi Dino

Thanks for write us

I comment you soon about your question

Best regards

  • Paul answered Sep 5, 2022 - 2:32 pm
0 votes

Please find attached your demo navigation application, with a NewTheme.theme added in the Themes folder (this is a copy of Material-3). Check the “About” linklabel on the top right. Set the theme from the dropdown to “NewTheme” and then hover the linklabel to see that there is no underline.

Best,
Alex

Showing 1981 - 2000 of 11k results