All Answers

0 votes
In reply to: Upload Folder

Hi Angelo

Sadly folder drag / drop support isn’t included now

but we take note to add it as enhancement soon

In general you set AllowDrop to true on any Wisej control and it can receive files from the client.

thanks for your feedback 🙂

  • Paul answered Jul 27, 2022 - 3:02 pm
  • last active Jul 27, 2022 - 3:07 pm
0 votes
In reply to: Flip Camera extension

Hi

you can try add this to the Camera’s InitScript to Mirror the image:

this._media.getMediaObject().style.transform = “scaleX(-1)”;

 

HTH, regards

  • Paul answered Jul 27, 2022 - 2:53 pm
0 votes
In reply to: Upload Folder

Thanks Paul,

It works very well.

Just another question.

If I want to do it with drag and drop.

I know how to drag and drop the file. Is this possible with folders?

0 votes
In reply to: Flip Camera extension

Hi Paul,

FacingMode work well for select camera.

If possibile I would like to mirror the image, I have try with this css,

video {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}

but dont work. do you have any suggestions?

 

0 votes
In reply to: Upload Folder

Hi Angelo

As workaround you can try this please.

add this to the Upload control’s InitScript: this.__upload.webkitdirectory = true

In future version, Wisej.Net will have an enancement to handle this in a better way

HTH  and thanks for your feedback

 

  • Paul answered Jul 26, 2022 - 4:28 pm
0 votes

Hi Vincent

 

Thanks for you write.

This you comment is a know issue.
Sadly for the moment there isn’t a solution, its very hard to fix it

As a work around, you can encapsulate the navigation bar into a user control for reutilize it into other forms/pages or projects

hth, regards

  • Paul answered Jul 26, 2022 - 1:03 pm
0 votes

Hello Frank,

Our application is on 4.7.2 and is not supported by 3.0.12. I tried upgrading it to 2.2.60 and verify, but the issue still persist.

//
// dateTimePicker1
//
this.dateTimePicker1.Format = Wisej.Web.DateTimePickerFormat.DateTime;
this.dateTimePicker1.Location = new System.Drawing.Point(202, 121);
this.dateTimePicker1.Name = “dateTimePicker1”;
this.dateTimePicker1.Size = new System.Drawing.Size(521, 22);
this.dateTimePicker1.TabIndex = 0;
this.dateTimePicker1.Value = new System.DateTime(((long)(0)));

selecting the date always defaults the time 12am and not current time(“7/25/2022 12:00:00 AM”).

Thanks

Sathya

  • Behzad answered Jul 25, 2022 - 8:52 pm
0 votes
In reply to: Flip Camera extension

Hi

If you meant meant to flip the camera, you can do that by setting the FacingMode to Environment

Regards

  • Paul answered Jul 25, 2022 - 1:47 pm
0 votes

Hi Behzad,

I tested with Wisej.NET 3.0.12 and it works correctly so assuming it might have been fixed down the road.
You might consider upgrading at least to evaluate if this problem persists.

If it does please provide us with a test case.

Best regards
Frank

0 votes

The designer available for .net 6.0? The sooner the better!
Please note, it’s honestly well-meant. I’m certain you already know. Seperate the editor and the output it stores from the actual code generator output. Use a code generator concept with an intermediate file like dotnet ... scaffold ... does for Entity Framework or ASP.net Razor frameworks.
The reason i’m referring to this is that the classic .net 4.8 designer using component model namespace enforces the use of a compiled binary where every detail is stored in the designer source code file itself. As a side note, this is the reason why the designer fails so many times when that file becomes modified, corrupt or unavailable eg. when cleaning the project … etc.
But the real obstructive reason is merging git branches containing *.Designer.cs files can become a tedious, unpleasant thing especially when multiple people work on a single WiseJ page/control/component up to a point where a merge gets impossible to do. We already had such unpleasant situations.

Whenever the designer opens up it’s screen dimensions vary depending on the developer’s desktop therefore the Location & Size properties of any control class on a page/component gets changed regularly. It’s even sufficient to open & close it without any change. Not only that this bloats the repository with unnecessary changes it makes merges nearly infeasible when two or more devs try to merge their changes. Have a look at the example image.

  • Branko Mikić answered Jul 22, 2022 - 9:47 am
  • last active Jul 22, 2022 - 10:51 am
0 votes
In reply to: Upload Folder

Hi Paul

I try to describe the goal.
The application has the purpose of allowing the various clients to archive files that are on their client PC on the server. The application guides the user in coding the documents to be archived. The final step is uploading to the server. If the upload concerns files, the procedure is managed either through the ‘Upload’ widget or by drag and drop.
The problem is if the user wants to upload an entire folder that perhaps contains subfolders. The previous methods are not applicable as they allow me to select only files.
It is clear to me that the ‘upload’ object does not allow selecting folders (as does darg and drop). I was wondering if there are methods to get this possibility.

Thanks

0 votes
In reply to: Upload Folder

Hi Angelo
Maybe the ClientFileSystem extension could be an alternative approach but that heavily depends on what you are trying to achieve and where you are uploading from.

If you explain in more detail your goal, we coud help you more accurately

regards

  • Paul answered Jul 21, 2022 - 3:51 pm
0 votes

Please disregard.  All sorted.

In case others have the same issue …

FortiNet on the server was blocking w3wp.exe.  This “blocking” was not preventing it (that is, IIS) from working, but rather preventing it making an outbound internet connection (presumably to validate the WiseJ license).  Adding a Fortinet exception fixed the issue.

Regards,
Neil

0 votes
In reply to: HELP ChartJS3 DateTime

SOLVED!

in the extension source code I have add this javascript:

chartjs-adapter-moment v1.0.0

https://cdnjs.com/libraries/chartjs-adapter-moment

 

now only

.Options.Scales.xAxes(0).Time.DisplayFormats don’t works but I can continue my project and set the format directily in js selecting by Options.Scales.xAxes(0).Time.Unit = TimeScaleTimeUnit

🙂

0 votes
In reply to: HELP ChartJS3 DateTime

the console write: 011432 Wisej: This method is not implemented: Check that a complete date adapter is provided.

0 votes

Hi Bernhard,

here my solution: https://wisej.com/support/question/multiple-project

then the users use the old project without restart, until the next reopening

best

Cristian Zerbinati

0 votes
In reply to: HELP ChartJS3 DateTime

Hi Levie,

I spoke too soon. I attach a test proj.

There is two problem.

1) ScaleType don’t work with time

2) then if I set Linear, the STEP is ignored.

In the example that I attached you can see that in the hours 13:00 there is displayed too much point

chartjs works with datetime, but I cannot use chartjs and chartjs3 in the same project cause conflicts.

here: https://www.chartjs.org/docs/master/getting-started/v3-migration.html

for time type it write about data adapter, but I don’t understand

I have a project stuck by this problem, for me a workaround would be able to use chartjs and chartjs3 in the same project

best

Cristian

0 votes

Actually, based on further inspection of the templates, I think you will need 2 separate sets of them.  One for WiseJ 2.2 and another for 2.5.

If you look inside the VS2022 WiseJ2 Web Application template, specifically, Application.csproj file, you’ll see /ItemGroup/PackageReference which points to WiseJ 2.5: <PackageReference Include=”Wisej-2″ Version=”2.5.*” />.

Same goes for VS2019 WiseJ templates (from troubleshooting page) – they also point to WiseJ 2.5.

I think you just need to take the templates that shipped with WiseJ 2.2 and got installed into /Documents/Visual Studio 2019/Templates and package it into a zip.

 

 

 

0 votes

Gentlemen,

Any comments on my post from July 16?

0 votes

Hi Ser,

Write this on Load and ResponsiveProfileChanged events in the page:

 

// code for initializing the panel and setting 
// its size goes here

_thePanel.Location = new Point(
    this.ClientSize.Width / 2 - _thePanel.Size.Width / 2,
    this.ClientSize.Height / 2 - _thePanel.Size.Height / 2);
_thePanel.Anchor = AnchorStyles.None;

Regards
Showing 2101 - 2120 of 11k results