All Answers

0 votes

Hi Cristian,

Check out this other similar post: https://wisej.com/support/question/datagridview-memory-problem

As long as you’re properly disposing the references to the data, the garbage collector will free up the space. The important thing is to make sure you clear ALL references to the data, otherwise it won’t get freed up.

BTW, Wisej 2.2 (https://www.wisej.com/roadmap) will significantly reduce the amount of memory used by DataGridView’s (100mb down to roughly 3mb or so), so that might help you out as well!

HTH,

Levie

0 votes
In reply to: Help with CKEditor

Hi Cristian,

Our CKEditor extension is open source, you can find it here: https://github.com/iceteagroup/wisej-extensions

I’m attaching a small sample showing how to get the line height toolbar, you just have to add an option in ExternalPlugins referencing the plugin and set the option in code:

this.ckEditor1.Options.extraPlugins = "lineheight";

You can change the visible toolbar options by settings the “toolbar” option in ckEditor1.Options, see the attached sample.

Let me know if you have any other questions!

Best regards,

Levie

  • Levie (ITG) answered May 28, 2020 - 4:23 pm
  • last active May 28, 2020 - 4:24 pm
0 votes

Hi Levie,

Attached screenshots.

One fix could be to have them go on top of everything. Now they hide behind the borders. Then they could be placed to the right.

Best regards,

Wilfred

0 votes

Hi Wilfred,

I’m not sure if I know what you mean. If you want the error icon to be left of the control and not the label, you can set IconAlignment to BottomLeft.

I’m attaching an image with an icon from the theme. If this doesn’t work, it might be the size of your image or TextBox throwing it off.

Could you attach a screenshot or explain what you mean?

Best regards,

Levie

0 votes

Hi Florian,

You can hide the Taskbar by setting Desktop.AutoHide to true and setting Form.ShowInTaskbar to false for all the forms on your desktop (see the Application.OpenForms collection).

Will this solve your issue?

Best,

Levie

 

0 votes

Hi Huỳnh,

You’ll need to play around with the CSS styling.

Here is a post that might be useful:

https://stackoverflow.com/questions/20583088/how-to-align-iframe-always-in-the-center

Best,

Levie

0 votes
In reply to: UserPopup Css

Hi Page,

I think I misunderstood your question.

The combobox control implements the qx.ui.core.MPlacement mixin in Wisej (https://github.com/iceteagroup/wisej-qx/blob/master/ui/core/MPlacement.js)

You’re able to manipulate the position and behavior of the dropdown by overriding these properties in the combobox. I’m attaching a mixin that demonstrates how to do this.

You can also find information about the qooxdoo API documentation here for control properties and styles: https://qooxdoo.org/qxl.apiviewer/#q

Let me know if you have any questions about it!

Best regards,

Levie

0 votes
In reply to: UserPopup Css

Hi Page,

What CSS are you trying to override with the UserPopup?

You can also set the UserPopup’s CSS with the CssStyle property.

Also,

You can edit a theme on the fly with the ThemeBuilder.

  1. Open the Theme Builder
  2. Click Browser
  3. Enter your project URL
  4. Click the control you want to style

If you click your UserPopup in the ThemeBuilder, you’ll see it shows up under Widget.

If you want to override the UserPopup class with a mixin, you need to override wisej.web.UserPopup.

HTH,

Levie

0 votes

Hi

Thanks for report about this issue.
Apparently there are problem with subcontrols inside a ListView.
I’ll report to the development team and notify you about the results.

Regards and happy codding

  • Paul answered May 22, 2020 - 3:30 pm
0 votes
In reply to: ListView Image size

Hi Page,

You can change the size of the LargeIcon and SmallIcon views with the LargeImageSet and SmallImageSet, respectively.

The way to change the “Details” view icon sizing is a bit different.

 

The first way you can do it is through a Mixin file (add the attached file to /Themes in your project).

The second way is directly in C#, you can add something like this:

 Application.Theme.Appearances.listview.components["grid-cell"].components.icon.states["default"].styles.backgroundSize = "100%";
 Application.Theme.Appearances.listview.components["grid-cell"].components.icon.states["default"].properties.width = "100%";

 

Let me know if this solves your issue!

Best regards,

Levie

  • Levie (ITG) answered May 21, 2020 - 3:35 pm
  • last active May 21, 2020 - 3:36 pm
0 votes

It works perfectly on my development machine. On server I got the error attached. Any clue?

Same error with en-UK

0 votes

Hi Florian,

#2277 is fixed in Wisej release 2.1.70.

Best regards
Frank

0 votes

I see. What happens is that when a new thread is used from the thread pool is always starts at “en-US” (the invariant one) if the server uses the default language. When working on a desktop app you have only 1 main thread and when you change the thread culture it stays.

In a web app each request gets a thread from the pool and the thread’s culture info has to be updated on each request (if the system supports full localization, like Wisej does). The locale can be different on each request because of user settings or because the app changed it (like in your case) and Wisej cannot just change the thread’s culture on each request because it would just take unnecessary time so it checks if it has really changed and the only way to check is using Equals(). But, in .NET CultureInfo.Equals checks the name only. In addition there are so-called IsNeutralCulture CultureInfo (i.e. “ro” is neutral while “ro-RO” is not, “en” is neural, “en-EN” is not neutral). When the culture is neutral Wisej checks the ThreeLetterISOLanguageName to see if the culture is changed.

Anyway, the best way is to use the sample I sent you and change it like this:

Application.CurrentCulture = new ApplicationCulture(“en-XX”);

It will base it on “en” and creates your own version of “en”. Be sure to set the CurrencySymbol otherwise is uses a placeholder character.

I will see if we can improve the switch detection by checking Equals() from the value being set instead of the existing value to allow a custom MyCultureInfo class to override it. But creating a custom name is always the best approach.

 

  • Luca answered May 20, 2020 - 7:13 pm
  • last active May 20, 2020 - 7:14 pm
0 votes

Yes, I get the same result. But that’s not the problem. I’m sorry I’m misleading you.
ro-RO works ok for dates, but there are other inconveniences (like number separator, text sorting, etc).

That’s why I want to start from en-US and modify just .

See the attached picture.

0 votes

Hi Florian,

thanks for spotting this and providing detailed information and a test case!

We have logged this issue as #2277 and a fix will be included in the next Wisej build.

Best regards
Frank

0 votes

See attached. I just copied the settings in your last comment. Let me know if it works for you.

  • Luca answered May 20, 2020 - 4:35 pm
  • last active May 20, 2020 - 5:34 pm
0 votes

Hi Florian

Efectibly there are a bug in the configuration that comments
This happend in all mayor browsers supported
For now, the only that not show the error is IE11

I will report to the development team for this problem and inform you when the correction are done.

Regards and happy codding

  • Paul answered May 20, 2020 - 5:14 pm
0 votes
In reply to: Wisej.Ext.Camera

Hi Glenn,

The Camera extension isn’t complete yet, you’ll have to wait a bit before it’s available!

If you want to use the camera, you’ll need to implement it in JavaScript for now, here’s a little guide:

https://www.html5rocks.com/en/tutorials/getusermedia/intro/

We’ll keep you updated as to when it’s available!

Best regards,

Levie

0 votes

I don’t think you can use the AspNet captcha in Wisej as an independent control without also adding a submit button (like you see in the DevExpress sample: https://demos.devexpress.com/ASPxEditorsDemos/ASPxCaptcha/Features.aspx) because it requires posting to an asp.net form while Wisej is a Single Page Application (SPA) and we don’t post anything.

In ASP.NET if you don’t post the form and all the fields you don’t get any value on the server.

In general captchas work with older web technologies with <form> and <button> etc. that a bot can post. An SPA or Javascript system usually don’t have any of those features and everything is a <div>. There is nothing for a bot to push, check or submit.

Anyway, see attached sample. The way ASPxCaptcha generates codes and updates the server is all documented at DevExpress.

  • Luca answered May 19, 2020 - 9:23 pm
  • last active May 19, 2020 - 9:24 pm
0 votes

Thanks Jan,

will be fixed in the next Wisej build.

Best regards
Frank

Showing 4841 - 4860 of 11k results