Hi Angelo,
Thanks for bringing this to our attention.
It’s logged as issue #1900 (https://www.wisej.com/issues/)
A fix should be available in the next release.
Best regards,
Levie
Hi Eyal,
We are still working on RTL support for DGV. This is a known issue and we will be working on a solution for it in the coming months.
Sorry for the inconvenience. We hope to get it fixed as soon as possible.
Best regards,
Levie
Since the last build autocomplete is off by default in Wisej, but…. Chrome may ignore it. Wisej sets the attribute autocomplete to “off” on all input elements (you can check with F12). Try to change the name of the field or clear the cache. If it was already autocompleted the Chrome may ignore the setting. This is not a rule, just a guess.
See attached image.
Send a test case showing the problem, I cannot reproduce.
If you edited the .json configuration file you have to restart IIS or IIS Express.
You can’t set the locale for a single control. The culture in .NET can be set for the thread or for each call. Threads are reused for each web request so if you set it for the thread you have to set it each time before the request is handled. This is what Wisej does for you.
Add:
“culture”: “pt”
in Default.json
See
// culture: The default culture of the application. Default: “auto” (detects the culture from the browser.)
And
https://wisej.com/docs/2.0/html/Configuration.htm (culture).
Luca,
Well i-m not getting how to do it, my fault.
for example, how would it be possible to define this globally for, for example in the datagridview, to make it display the format i want?
Its always showing 14/25/2019 14.00.00 PM
And i want the portuguese format that is 25-14-2019 14:00:00
grid.Columns(“last_login”).ValueType = GetType(DateTime)
For what i saw in the examples, i-ll have to specify it every time, is it true?
this.labelNumber.Text = 12345678.ToString(“c”);
this.labelCurrency.Text = 12345678.ToString(“c”);
this.labelDateTime.Text = DateTime.Now.ToString(“F”);
Try the attached sample with the patched ContextMenu.js.
You can’t change the localization of the current thread. Every request is a new thread out of the pool. Web apps don’t have a UI thread.
Use the several options provided by Wisej:
https://wisej.com/docs/2.0/html/Localization.htm
https://wisej.com/docs/2.0/html/Configuration.htm
https://github.com/iceteagroup/wisej-examples (Localization and RuntimeLocalization)
As seen on the video, I did not click any item only the arrow down of the split button, but wherever the mouse is positioned during the click event, that item is being triggered.
After upgrade to 2.0.28 the issue still remains, I have attached a simplified version of the issue using the latest binary of wisej.
Hope this can be resolved soon.
Thanks.
So if I take the simple approach, I do not need to worry about creating a wrapper, correct ? I would just reference the aspx page from within Wisej using the AspNetPanel control ?
“The simplest is the AspNetPanel control. You can set it to a aspx page where you can use the DevExpress ReportViewer in an ASP.NET page. This is just like using it in an ASP.NET app.”
DevExpress ReportViewer is an ASP.NET control. You can use it in Wisej in several ways, depending on the level of integration.
The simplest is the AspNetPanel control. You can set it to a aspx page where you can use the DevExpress ReportViewer in an ASP.NET page. This is just like using it in an ASP.NET app.
The more involved integration requires using the AspNetWrapper control that can turn an AspNet control into a Wisej control. The main issue is that AspNet controls are destroyed and recreated from scratch on every postback so you cannot set any property or call any method directly outside of a the AspNet page cycle. Wisej is a full Single Page Application (SPA) and all controls are persisted with their full state, so the control integration ties in the post-based AspNet model with the ajax-based Wisej model.
You can find a complete sample here: https://wisej.com/support/question/stuck-wrapping-an-asp-net-control-stimulsoft-reports-designer
The Stimulsoft report designer and viewer is very similar to the DevExpress ReportViewer and it’s a very complex AspNet control.
Something in the scaling is calculating a large factor for the columns. The scaling is done when the font changes. Can you please try this:
1 – Set AutoScaleMode of the UserControl to None
2- Override “protected override void ScaleControl(SizeF factor, BoundsSpecified specified)” in your DataGridView class put a breakpoint and call base to see what the factor is.
You can also override the “bool ScaleChildren” property in your derived DataGridView class and return false to prevent the DGV from scaling the column width as a workaround.
Let me know. We can try to build a test case as well, but it will probably not show the same issue.
Hi,
I’m sorry you’re having this issue. Could you please attach a small sample? I have tried to replicate the problem, but it is working fine for me.
I have a NavigationBar with items and subitems. I added ToolTipText for both and they displayed right near the item.
What version of Wisej are you using? What browser are you using?
Let me know.
Best regards,
Levie
Reinstall wisej and the problem was solved
See https://wisej.com/license-information/
It’s only the free update period that expires.
Hi,
You can get this behavior in several different ways.
If you want multiple values to show in one field, you can use a data-bound ComboBox DataGridViewColumn. You can set the DataSource of the ComboBox to be whichever table you desire.
The second way is you can use LINQ to get the data from your second table and join it with the first. You can select the fields to hide/show that way by adding them to your BindingSource.
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/join-clause
I hope this helps. Please let me know if anything doesn’t make sense or you have any other questions!
Best regards,
Levie
Hi,
Thanks for the suggestion! We’ll keep it in consideration. We’re always welcome to suggestions on how to improve Wisej to your needs!
Best regards,
Levie
Hi Andrew,
Did you solve this problem? Using a custom form class would make sense as a reasonable way to solve this issue if you have custom code that interferes with the default back/cancel/close event.
Please share how you proceeded with this!
Best,
Levie
