Add the chartjs-plugin-total-labels.js to the files loaded by the chartjs widget.
Hi Levie.
Thanks for the reply!
That is strange. I can reproduce it with a brand new solution. Have you tried it on an actual mobile phone? Not emulator… it works just fine in Chrome emulator, but testing on 2 iPhones I have been able to reproduce it all the time.
I have put together a simple sample for you. If you run it in VS, all works fine and both TextBox in the form show with the same color. If you deploy it to a server and navigate to it through an iPhone, it should show the Disabled TextBox in a different color from the Enabled one, although in the Theme which I have provided with this sample the Disabled Opacity is set to 1.
Let me know if you need me to do anything from my side to test it.
Cheers.
Ivan
Hi Ivan,
If you save the new theme with the “Disabled” state Opacity change, it should work on mobile as well.
I tried to reproduce the issue and it shows the same on desktop and mobile.
I would recommend clearing the cache on the mobile device’s browser and see if that helps with the issue.
Also make sure you’ve properly configured the new theme in your project (web.config).
The mobile browser should respect the CSS in a similar way to desktop.
If you attach a small sample we can look at it and see if we run into the same issue!
HTH,
Levie
Hi Ewan,
We’re able to reproduce the issue, I’ve logged it as issue #2536. It should be fixed for the next build. I’ll keep you updated!
Best,
Levie
Thanks for the reply, Luca!
Yep, I added it to the Default Profile. I was right now checking this new field (ResponsibleProfiles) property and noticed there are 2 entries for it for the Phone profile, which is odd. I will delete one of them and see if it fix it.
Controls have to be added to the default profile and are present in all profiles. you can hide them. It’s like the localization feature. I’ll check why it doesn’t show the correct message.
Hi Ewan,
I’m having trouble reproducing the issue. Could you please attach a sample project?
Best,
Levie
Doh!
Forgot to put
<link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon”>
In default.html
Doh!
Forgot to put
<link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon”>
In default.html
Wisej doesn’t load the favicon. It’s entirely managed by the web server and the browser. Check in case you have added a <link> to the favicon.
Ciao,
I have two more questions…
1 – What event should I use to display the number of filtered rows on a label?
2 – How do I see if there is an active filter or not?
Grazie
Alessandro
P.S. You’re doing a great job!
Thanks Levie is exactly what I was looking for.
Hi Angelo,
Application.Theme.Appearances["toolcontainer"].components["button"].components["icon"].states.@default.properties.width = 5; Application.Theme.Appearances["toolcontainer"].components["button"].components["icon"].states.@default.properties.height = 5;
Does this work for you?
Best,
Levie
Hi, how can I set SelectOnEnter property to true, this property is not accessible from code? But I can see it through properties when in design mode. I want a behaviour when cell enters in edit mode, it will automatically select all text so that user can just type in a new value, right now, when it enters in edit mode, the cursor is in the right most part, and I cannot use arrow left to move to the left, I have to use the mouse and it’s time consuming for the user to navigate.
Hi Glenn,
We also logged an issue with the InterceptArrowKey property. When it’s disabled it also disabled editing the NumericUpDown control with the keyboard. The issue is fixed and will be available in the next build.
Sorry for the inconvenience.
Best,
Levie
Hi Glenn,
The InterceptArrowKeys property is what you’re looking for.
You can disable it in the EditingControlShowing event (cast e.Control to a Wisej.Web.NumericUpDown control):
private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
var control = (NumericUpDown)e.Control;
control.InterceptArrowKeys = false;
}
You can also create a custom NumericUpDown control and set it to be the Column’s Editor control:
this.dataGridView1.Columns[0].Editor = this.myNumericUpDownControl;
When you set the editor control for a column, the event handlers and properties are applied to each cell editor in that column.
To handle the Arrow key events, you’ll want to add a handler for the KeyDown or KeyUp event of the NumericUpDown control.
Please let me know if this doesn’t work for you!
Best,
Levie
The only fix is to make sure that you are not referencing different versions of the assemblies being loaded by the VS designer. Including project assemblies. It’s not a Wisej issue.
VS copies the assemblies loaded by the designer in a shadow directory. When these copies are out of date and cannot be updated or don’t match the references used by other assemblies you see this issue. Sometimes between the same assembly since in .NET you can load multiple identical copies of the same assembly resulting in the same type being loaded more than once and not being able to cast.
We cannot change the way VS loads the assemblies. This problem occurs with all systems (winforms, wpf, asp.net) and all frameworks. Try to delete /bin and /obj, and .vs after closing the designer and VS. Reopen and recompile all. Check the references set to Copy true. Make sure you don’t have multiple versions of the assemblies being designed. Delete the VS shadow temp directories. There are many sources from Microsoft on where they are located.
Reinstalling VS or Wisej is not related to this. Once you get the hang of it, it should work smoothly. I work daily on dozens of different projects in VS, with multiple versions and many assemblies loaded in the designer without issues. When this happens for me it’s enough to close VS, clean, reopen and it works.
Is there any fix for this problem yet? Seems others have similar issues: Issues opening designer when working in multiple project solutions – Wisej (In my case, I can switch between projects of a solution).
It happens to all Wisej projects even the simplest HelloWorld from template. And yes, I tried all the workarounds that have been posted (except re-installing VS).
I still must always close VS when switching between solutions, even closing+re-opening the same “HelloWorld” crashes.
Hi Dino,
Did you try the sample application we provided? Does that work for you?
Could you please attach a sample of your application and a screenshot of the error?
Best,
Levie
Grazie mille!
