All Answers

0 votes

Hi Ewan,

issue #2536 is fixed in our latest Wisej development build (2.2.33).

Best regards
Frank

0 votes

Modified theme file is attached.

0 votes

There is no server key restriction. It’s probably a faulty IIS configuration. See: https://wisej.com/docs/2.2/html/Deployment.htm

 

  • Luca answered Jan 27, 2021 - 6:25 pm
  • last active Jan 27, 2021 - 6:27 pm
0 votes

Thank you Luca!

I am trying to implement your first option, and as dumb as I am in dealing with JavaScript I am having a hard time to reach the upload(). By the way, it is uploadFiles(), isn’t it? Anyway, I probably am entering the wrong Object Model in the Call. Looking at the Documentation, I saw that we can go to F12 in Chrome and filter the Console with “App.”. Doing that, I can find as far as the Form object, not able to see any of its controls. Even though, I have tried:

App.MyForm.MyUploaderButton.upload();

App.MyForm.MyUploaderButton.uploadFiles();

Both throw an error, saying “Uncaught TypeError: Cannot read property ‘upload’ (or ‘uploadFiles’) of undefined”

Would you guess what I am doing wrong?

0 votes
  • Luca answered Jan 27, 2021 - 2:59 pm
0 votes

Usually that means that the browser blocks the ajax action and it has to be initiated by a user action. In this case instead of calling upload.UploadFiles() from the server, add a “execute” (or “tap”) client event to the other button and call the upload files method in javascript. You need the reference to the hidden upload control. You can reach it using App with the full path, like this:

"App.MainPage.upload1.upload();"

Otherwise you can assign the reference:

this.button1.Call("this.setUserData", "uploadControl", this.upload1);

this.button1.AddClientEventListener("execute", "this.getUserData('uploadControl').upload();");

Or something like this. It used to be that chrome on desktop also didn’t allow for non-user initiated code to invoke the upload.

 

 

 

  • Luca answered Jan 27, 2021 - 2:57 pm
0 votes

Checked out latest wisej-ext-syncfusion from suggested address,

build it, added dll to references.

Tried your sample with:

– Firefox 85.0 Win

– Chrome 88.0.4324.104 (Official Build) (64-bit) Win

Same postback error occurs, can you check from your side?

0 votes

Hi Levie.

Thanks for the rescue.
Yep, I am using the latest version of Wisej, but was referencing the Camera’s 2.1 version. I downloaded the 2.2 version and the property is there.

Thank you!

Ivan

0 votes

Hi Levie,
Do you have planned any release for this ?

Let me know,
Thanks!

0 votes

Hello.
Luca (ITG)

Wisej.Web.Ext.Chart JS widget program source
I understand how to embed a plugin directly in
Wisej.Web.Ext.ChartJS, not program source level
Chartjs-plugin-total-labels.js for the control dll
I want to add.
* Plug-in to the program source directly in the attached file
Attach the embedded program source.

0 votes

Hi Ivan,

I’m glad to hear you like the extension!

Are you using the latest version of Wisej? What version is your Wisej.Web.Ext.Camera DLL?

You can find the full source code for the extension (FacingMode property) here: https://github.com/iceteagroup/wisej-extensions/blob/2.2/Wisej.Web.Ext.Camera/Camera.cs#L188

 

Please let me know if you have issues with it.

Best,

Levie

0 votes

HI,

I am trying with your sample, same postback is happening.

The only thing that could be problematic is build of wisej.ext.syncfusion.dll, can you provide your version of dll.

I am attaching screen recording to show behavior.

0 votes
In reply to: Drag and Drop utiliry

Thanks for the quick reply.
That’s exactly what I need.

Cheers

Angelo

0 votes

Hi Levie.

Just curious, were you able to check the sample?

By the way, I have even changed it a little bit to make things more clear. First, to get rid of any possible issue with the Theme, I changed it to the built-in Blue-1 theme. Additionally, I added a CheckBox and a RadioButton, both in a Disabled state, to compare with the Disabled TextBox. I have attached a picture. As you can see, the disabled text color for the TextBox is extremely light, very much different from the CheckBox and the RadioButton, which show a readable disabled text. And all this, of course, only happens when the application is run on an actual cell phone, in this case, tested in 2 different models of iPhones.

Please, let me know if you think of anything to workaround this.

Cheers.

Ivan

0 votes
In reply to: Drag and Drop utiliry

Hi Angelo,

In addition to Luca’s answer, I’ve prepared a small sample project you can try using the DragDrop feature.

Please let me know if you have any questions or this isn’t clear!

Best regards,

Levie

0 votes
In reply to: Drag and Drop utiliry

Wisej supports dropping files on any control. Don’t even need the Upload control. Just set AllowDrop=true and handle the drag drop events like in winforms. You can also check the file names or types being dragged. The information is limited by the browser.

https://stackoverflow.com/questions/68598/how-do-i-drag-and-drop-files-into-an-application

  • Luca answered Jan 26, 2021 - 3:47 pm
0 votes

Update:

All good now, I found the loop reference in an Options object serializing it with Newtonsoft, but PLEASE make sure your serializer can handle loop-references as it may cause severe issues detecting such errors.

0 votes

Update:

All good now, I found the loop reference in an Options object serializing it with Newtonsoft, but PLEASE make sure your serializer can handle loop-references as it may cause severe issues detecting such errors.

0 votes
In reply to: Button lost event

They are not really lost, they are aborted in these cases:

  • When the user holds the button down for over qx.event.handler.GestureCore.LONGTAP_TIME (500) because at that point the gesture emulation fires a “longtap” instead of a “tap” event. The “longtap” is what you get  on a touch device when pressing and holding. Wisej emulates the same on desktop devices to be able to have the same code. You can increase the time setting: “qx.event.handler.GestureCore.LONGTAP_TIME = 1000” in a javascript call.
  • When the use presses down, move the mouse a bit (like many irritating users do 🙂 and then release. The javascript framework cancels the “tap” in that case. The distances are different for devices: qx.event.handler.GestureCore.TAP_MAX_DISTANCE : {“touch”: 40, “mouse”: 5, “pen”: 20}. You can increase it like this in a js call “qx.event.handler.GestureCore.TAP_MAX_DISTANCE.mouse = 10”.

 

It’s all here:

https://github.com/iceteagroup/wisej-qx/blob/master/event/handler/GestureCore.js

We had the “lost clicks” report many times and are looking at removing the TAP_MAX_DISTANCE check, but it’s tricky because it’s also used on mobile when the user touches, drags and releases and changes this deep in can have unintended consequences.

  • Luca answered Jan 25, 2021 - 9:02 pm
0 votes

Hi Luca.

Just to let you know, I have a feeling there is more to take care about the ResponsiveProfiles functionality. Now, I have had all my controls Locations changed to the same as the Phone profile, after I repositioned some of them in the Phone profile. Once I finished editing the controls and clicked back to the Default Profile, I had that same message I mentioned in my original post and the form wouldn’t open anymore. So, I closed VS and opened it again just to see that all my controls in the Defaut Profile were in the wrong locations, basically as they were in the Phone profile after I repositioned them there. Right now it is a bit scary. I will make sure I save a copy of the forms before I do any editing on a different profile.

Showing 4141 - 4160 of 11k results