All Answers

0 votes

Hello,

There are two ways to use the Controls.SetChildIndex method:

You can do Controls.Add() then Controls.SetChildIndex(),  or
((IList<Controls>)Controls).Insert(index, control)
To answer your question, SetChildIndex does not actually add the control, it has to be done AFTER you add the control.

HTH,
Alaa

0 votes

Alaa, I’m testing wisej again for the first time since the very early days. As I understood it from the gizmox days, webgui/wisej was supposed to be a “winforms for the web” framework from day one. I’m sure that is still a major part of the wisej dna, but hearing what you wrote about hybrid wisej makes me wonder what the change is about?

“Wisej Hybrid is going to be a bridge that allows you to develop your applications with the well known WinForms model and making it easier to port them to all supported devices” sounds like the original idea behind wisej/webgui.

  • Michael Simcich answered May 9, 2023 - 2:24 pm
  • last active May 17, 2023 - 4:06 pm
0 votes

Hello,

Currently, you can bind commands to a regular Button, but not a DataGridViewButtonColumn or a DataGridViewLinkColumn.

Although this is not currently implemented, we plan to add it in a future release!

-Julie

0 votes
In reply to: Direct Print

I think it is possible with Google Chrome.

If you use the parameter –kiosk-printing when when you start Chrome, Chrome will do direct print without dialog.

0 votes

Hi Brayden,

your question is not entirely clear to me. Can you please try to set up a simple test case where you mark the code that´s unclear to you.
I guess we´ll be able to help you much better then.

Best regards
Frank

0 votes

Hello,

Can you provide a sample? I was unable to reproduce. Also, what version of Wisej are you using?
I’ve attached a sample where everything is working fine. Can you check this sample to see if there’s any differences from your code?

-Julie

 

0 votes

Hello,

didn’t know it was so easy to switch between different themes.

many thanks for your support.

regards,

bjorn

0 votes

You don’t need to download anything- there are several default themes included with Wisej- including Blue-1, Blue-2, Blue-3, Bootstrap-4, Classic-2, Clear-1, Clear-2, Clear-3, Graphite-3
All of these are included with Wisej: https://github.com/iceteagroup/wisej-themes
If you want to create your own custom theme, you can do that using the Wisej.NET Theme Builder. https://wisej.com/theme-builder/ The theme file created will have the extension .theme. You can then add it to your Wisej project.

If you want to preview what a theme will look like in the designer, you can click on the button in the toolbar to change which theme you are viewing. (see screenshots)

To initially set the theme when the application starts, you can either set it in the Web.Config file (see screenshot). OR define it in the default.json file. (see screenshot) The theme in default.json will override the one in Web.Config.

If you’re trying to change the theme at runtime you can use Application.LoadTheme(themeName); You can use this to easily switch between themes at runtime.

Helpful documentation: https://docs.wisej.com/docs/concepts/theming

-Julie

0 votes

Hi David,

The SpliterDistance property isn’t responsive, that’s why you’re seeing the current issue.

In general, it’s easy to check what property is responsive or not by checking for the Tiny tool icons next to the property.

As a workaround, you can use the ResponsiveProfileChanged Event instead.

Best,
Alaa

0 votes

I should note I compressed it with 7zip using LZMA compression level to meet the file size limit because the Wisej.Framework.dll won’t compress below the file size limit with the default compression method in Windows 10. I test extracted it with 7zip and it seemed to work using 7zip but it would not extract properly in windows. I have attached a zipped folder of the project with Wisej.Framework.dll file removed.

0 votes

Sure. Here it is.

0 votes

Hi David,

Your sample seems to be corrupted as I could not extract it.

 

If you can, please re-attach it.

Best,
Alaa

0 votes
In reply to: pull-down refresh

Hi there,

thanks for sharing that interesting idea. We´ll look into adding it for the next release.

Best regards
Frank

0 votes

Thanks Alaa,

Please, can you explain me how to  assign the top-level control?

0 votes

Hi Angelo,

Thank you for reporting this issue, it’s a bug that happens when the Desktop is not a top-level control.

As a workaround, you’ll have to set your desktop as a top-level control by assigning it to Application.Desktop.

HTH,
Alaa

0 votes

Hi there,

we identified this as an issue in 3.2.1 and it will be fixed in 3.2.2.
As a temporary workaround you can add row(s) first before setting up the header cell if that´s applicable in your code.
You can try Wisej.NET 3.2.2-preview.0 to verify the fix.

Best regards
Frank

0 votes
In reply to: Upgraded to Wisej 3.2

Hi Mark,

A potential fix for this issue is included in Wisej.NET 3.2.1-preview0 that’s available on NuGet.

Can you please check if the problem is fixed on your end?

Best,

Alaa

1 vote

Fixed as of 3.2.1.preview.0

If you want the action to fire when clicking on both the link and the regular text, use the MouseDown event. (I believe this is what you want?)

If you want the action to fire ONLY on the regular text (not the link text), use the Click event.

If you want the action to fire ONLY on the link text, use the LinkClicked event.

Hope this helps!

0 votes

The Wisej.Web.HtmlPanel contains html content (set the Html property), when the content overflow it shows the scrollbars. We don’t need your entire application to understand what the issue is. If you put together a small app with 1 page and 1 Wisej.Web.HtmlPanel control and put in HTML content that you want to scroll, then indicate what is the expected behavior that is not working and we can look into the issue.

 

  • Luca answered May 9, 2023 - 2:24 pm
0 votes

Hi there,

The JavaScript you’re referring to is actually part of Wisej.NET itself, there’s no need to integrate it into your own app unless you want to override some of its features.

With that being said, there’s also no need to add ScrollBars as it’s pretty much standard in almost ALL of our control-set, there’s no reason for it to be overridden (take a look at the attached screenshot)

It’s not just a UserControl, it’s an actual representation of a client-side widget, if there are no scrollbars visible on your end, we will need a small, reproducible test sample that includes at least the source code of the HTML content you have.

You can check the “Scrollbars” property. maybe its value is set to “Hidden” or “None” somewhere on your project?

Best,
Alaa

Showing 1261 - 1280 of 11k results