<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
You can handle any exception attaching to the Application.ThreadException event. If you can put together a small sample that reproduces the error we can see what’s causing it and suggest ways to synchronize the code and/or fix something in Wisej.
At a first glance, it’s probably trying to render a row that has been removed meaning that multiple threads are updating and rendering at the same time.
Hi Luca
Thanks for the reply. By files I meant its a string value with different filetypes that are semicolon separated.
So for instance
files = “*.jpeg;*.jpg; //this is generated from a list of filetype values selected by the user.
and if I use this for applying the filter like
webOpenFileDialog.Filter = $”Files ({files})| {files}”;
I can see the dialog displays the value in the dialog as shown in the attached image.
But when i select a folder to select files, it does not display any files at all. Neither it shows based on the filter nor it displays all the files.
thanks
praveena
Filter is not a list of files. It’s the list of file types. See https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.filedialog.filter?view=net-5.0.
If there is still an issue please send a test case.
Hi Alaa,
thanks for your answer.
Your example works, although I still have some doubts.
You said “doesn’t update the client until the request is completed” so is the event “Load” different ? Doing this thing in all others events works nice:
private async void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
// Here working
ShowLoader = true;
await Task.Delay(10000);
ShowLoader = false;
}
Thanks!
Hi Cristian,
Thank you for reporting this issue.
The fix will be included in the next release. I’ll keep you updated when it comes.
Best wishes,
Alaa
To clarify, TextChanged fires when the Text property changes. It doesn’t matter where the TextBox is located.
Hi Frank.
Thank you, that did the trick!
Cheers.
Ivan
Hi Ivan,
this is intended behavior.
You can use the ModifiedChanged event if you want to interact directly.
Best regards
Frank
it works!
Thanks so much!
Hi Brayden,
if you need full control over the layout of the data labels, you can download the source code for the extension from GitHub and modify this file: https://github.com/iceteagroup/wisej-extensions/blob/2.2/Wisej.Web.Ext.ChartJs/JavaScript/dataLabelPlugin.js
Best,
Kevin (ITG)
Hi Vincent,
If you wish, you can send the list of issues to support@wisej.com and we’ll get back to you about how we should proceed.
Best wishes,
Alaa
Hi Messere,
Actually, the Select() method is used for the focus and the keyboard, it’s not meant to switch to a TabPage.
Using the SelectedIndex or SelectedTab Property is the correct way to programmatically change the views on a TabControl.
HTH,
Alaa
Hi Simone,
My apologies, it’s not a bug actually.
ShowLoader is a property and just setting it doesn’t update the client until the request is completed.
There’s a few issues with the code and what you’re trying to achieve would simply keep showing the loader until you manage to close the dialog. I have attached a modified version of the sample you provided for a demonstration.
In addition this.Refresh() doesn’t do anything in this case since it simply marks the component to be “refreshed” on the client when the request is completed.
I would suggest that you take a look at the AutoShowLoader Property for the buttons. It shows the loader as soon as the button is clicked and removes it when a response arrives from the server.
HTH,
Alaa
Hi Simone,
Thank you for reporting this issue.
We’re currently investigating it and we will notify you with any updates.
Best wishes,
Alaa
Hi Angelo,
You should be able to control the zoom using the <viewport> tag in Default.html.
If you want to keep pinch-zoom but remove the autozoom feature, you can try setting the maximum-scale attribute:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
If you want to disable auto-zoom and pinch-zoom, you can set maximum-scale and user-scalable:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
One more option is to set the Font size of the TextBox to 16px. The TextBox will not be autofocused / zoomed. https://css-tricks.com/16px-or-larger-text-prevents-ios-form-zoom/
HTH,
Levie
Hi Messere,
Thank you for reporting this issue.
As a workaround, I would suggest using the SelectedIndex or SelectedTab Property.
Let me know if there’s anything else you would like me to help with.
Best wishes,
Alaa
Hi Laurent
Good news!!
A colleague gave me some tips to be able to hide the arrows in the number cell.
These are
1) Use CSS to hide the arrows. Add this to Default.html in a style tag:
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
2) Set InputType.Type to Text, InputType.Mode to Numeric (shows numeric soft keyboard on iOS and Android, no input filtering), and apply a RegEx filter (Filter property).
3) Use a MaskedTextBox with InputType.Mode = “Number” and a custom mask: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.maskedtextbox.mask?view=net-5.0#system-windows-forms-maskedtextbox-mask
I attached a sample that covers the number 1
Regards and happy coding
Hi Ivan,
Thank you for reporting this bug.
We’re currently investigating the issue and we’ll keep you updated on when the fix is ready.
Thank you,
Alaa
Hi Laurent
Unfortunately, these type checks for InputType and all related settings are entirely native and managed by the browser
Our development team will considere this as an enhancement in future release.
Thanks and happy coding
If I tap to RowValidated again the row is not dirty.
How can I make sure that in RowValidating row contents is ok so that I can save it?
Thanx,
D
