Hi Ewan,
issue #2536 is fixed in our latest Wisej development build (2.2.33).
Best regards
Frank
Modified theme file is attached.
There is no server key restriction. It’s probably a faulty IIS configuration. See: https://wisej.com/docs/2.2/html/Deployment.htm
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?
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.
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?
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
Hi Levie,
Do you have planned any release for this ?
Let me know,
Thanks!
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.
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
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.
Thanks for the quick reply.
That’s exactly what I need.
Cheers
Angelo
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
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
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
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.
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.
They are not really lost, they are aborted in these cases:
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.
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.
