All Answers

0 votes
In reply to: Controls Sizes

Thank you. Logged as WJ-7347.

The size doesn’t change at runtime. The difference that you see is that at design time the panting rectangle is cropped to the size of the control while at runtime a control can render its HTML outside of the element. At design time we actually paint the control from the rendered HTML while at runtime it’s only HMTL.

This allows you to use rotations and transformations without having to recalculate the size of the control.

Best,

Luca

  • Luca answered Jun 14, 2016 - 8:43 pm
0 votes

It should be related. Did you update the Material-3 theme? The fix was in the theme files.

  • Luca answered Jun 14, 2016 - 4:51 pm
0 votes

Hi Massimo,

To answer your questions:

  • The RibbonBar should be available in a usable form by the end of July. It will be uploaded as an extension with the source code.
  • VWG internally uses System.Drawing.Graphics::MeasureString after creating a temp Graphics object. We will also probably add a way for the server to ask the client to measure a string when it contains HTML (in which case it will be async). In any case, this will be logged as an enhancement and added.
  • Will add TreeNode.Visible. We followed WinForms specs where this property is no available but it makes sense to add it. Will log as an enhancement.
  • The MonthCalendar is not ready to be used yet. By using it in a combobox, do you mean like a custom drop down?
  • Let me know the use-case you need for EnterKeyDown and I should be able to help with that. With Wisej you can handle the keyboard also on the client side with a JavaScript component and fire custom events. Or you can use accelerators.

Ciao,

Luca

  • Luca answered Jun 14, 2016 - 4:50 pm
0 votes
In reply to: DGV edit on keystroke

A test project is attached. Actually there are two projects, a Wisej project and a converted Windows Forms test.

There are other issues this test intends to highlight, both in the DGV and in the text box forms. I’ll add an issue and reference this projects.

  • Tiago Freitas Leal answered Jun 14, 2016 - 10:52 am
0 votes
In reply to: DGV edit on keystroke

Hi Tiago,

I could not reproduce that behavior here.

Can you please try to wrap up a small test case that could help us in tracking down that issue ?

Thanks in advance.

Best regards
Frank

0 votes

Thanks Tiago,

this is logged as WJ-7341.

Best regards
Frank

0 votes

Hi Tiago,

thanks, this is logged as WJ-7331.

Best regards
Frank

0 votes

Hi Tiago,

thanks, this is logged as WJ-7340.

Best regards
Frank

0 votes

Thank you, Tiago.

This issue is logged as WJ-7339.

Best regards
Frank

0 votes

Thanks Tiago,

this issue is logged as WJ-7336.

Best regards
Frank

0 votes

Hi Tiago,

thank you, this one is WJ-7335.

Best regards
Frank

0 votes

Hi Tiago,

thank you, this problem is logged as WJ-7338.

Best regards
Frank

0 votes

Thanks Tiago,

this issue is logged as WJ-7337.

Best regards
Frank

0 votes
In reply to: Vista theme

First of all, let me say I agree that Wisej is a “cutting edge framework” and includes a lot of features that are expect on today’s web applications. Just to name one, the ability to transform any control into a drop target for external drag objects, meaning files (I think I already said that on another thread…). I like the idea of having access to a lot of interesting Javascript widjets (FullCalendar, ChartJs and all the extensions available and planned). If I insist on points that I think are improvements, that’s exactly because I think Wisej has great qualities.

Back to the point, besides the DGV issue outlined by Alex, there is also the question of the default font (typeface/font size). I attach a very simple Windows Forms form that was converted to Wisej. As you can see, in Wisej the text length is much bigger than in Windows Forms and the labels drop out of the form. (Of course in this case this isn’t a problem, as I could easily expand the form, but that’s not the point.)

  • Tiago Freitas Leal answered Jun 11, 2016 - 10:07 am
  • last active Jun 11, 2016 - 10:21 am
0 votes

Update: this issue has been fixed. It’s WJ-7329 and will be in the next update.

  • Luca answered Jun 10, 2016 - 3:51 pm
0 votes
In reply to: Vista theme

+1 for a Vista theme, in the meaning of a desktop-like appearance.

I agree with Tiago that in our to-be-ported applications (Winforms and VWG) we have spent considerable amounts of time to squeeze a lot of information on a single page and there is a huge amount of valuable viewport space that goes wasted with the new Web-looking themes/styles. This themes, is my personal view, are way too much influenced by Twitter Bootstrap themes, that might look good on a tiny mobile screen but are completely inadequate for desktops.

As a more general point here, I believe it would be very useful that Wisej focus more strongly on desktop-like development. This is what is missing in the market, and this is what VWG also missed out. Trying to be desktop- and mobile-friendly at the same time is a utopia, as one has to make compromises in both directions. My personal belief is that ASP.NET and server side rendering is meant more for LOB applications with heavy data entry and not for mobile app development. There are plenty of tools for the second kind of development.

In my recent experience with converting a VWG application to Wisej, I saw my main datagrid which with the VWG Vista theme had 23 rows viewed on my laptop going down to 12 rows with the Wisej default theme. I have not tried yet to customize Wisej themes, it could be extremely straightforward. But it would be nice if Wisej offered a more desktop-like theme out of the box.

These were some thoughts of mine initiated by Tiago’s post.

All the best,
Alex

  • Alex Prinias answered Jun 10, 2016 - 3:49 pm
1 vote
In reply to: Vista theme

Hi Tiago,

We’ll add a “Classic-#” theme to the downloadable themes.

However, we have been porting apps for a while and in the last few years it is imperative to provide a modernization path/technology rather than simply porting. It has been a consistent request coming from prospects. Porting is now only the first step.

In general, the theme system and the UI in Wisej already take in consideration the constraints that you mentioned when coming from WinForms.

Client Area

Wisej preserves the ClientSize of a form (window) so it doesn’t matter how large or small the border or caption of a form is. The internal usable are stays the same. Wisej recalculates the Non-Client area and adapts the outside size. You can see this by changing the theme either in the designer or at runtime. The form gets automatically bigger or smaller while the client area remains unchanged.

Visual WebGui broke this behavior by setting the (overall) Size of the form. That is also why the PointToClient-type functions in VWG don’t work. Once a VWG form is loaded in Wisej this is fixed automatically but you may see a slight change. So the classic theme may help for the initial load. It doesn’t make any difference if coming from WinForms.

Editable Controls

Wisej built-in themes are all designed with the same height in pixels as WinForms (adapted using the font) to preserve the original dimensions and locations. The only elements that have been modernized are the inner elements that are not controlled by Size and Location.

General Approach

With Wisej we want to provide a cutting edge framework that is good for porting and but even better for modernizing and developing new apps. It includes all the newest browsers features and widgets enabling LOB developers to build modern web apps without having to dig through dozens of blogs and trying to stitch together countless javascript packages, sometimes incompatible, setting them back to the text editor times.

We know we can do it since, as we use to say, we eat our own dog food. And Wisej is vital for our modernization projects.

Best,

Luca

  • Luca answered Jun 10, 2016 - 3:49 pm
0 votes
In reply to: Vista theme

I agree that we need a more “Windows Application” -Centric theme in order to do LOB applications and utilize as much screen real estate as possible.

  • Edmond Girardi answered Jun 10, 2016 - 3:09 pm
0 votes

Thanks,

Reset did the trick.

 

 

  • Gerald answered Jun 10, 2016 - 9:22 am
0 votes
In reply to: PNG icons

I forgot to add that Wisej themes also support border images and slicing:

http://www.w3schools.com/cssref/css3_pr_border-image.asp

  • Luca answered Jun 9, 2016 - 9:03 pm
Showing 11121 - 11140 of 11k results