All Answers

0 votes
In reply to: ListView ColumnHeader

Hi Frank, Luca,

Fixed in 1.2.85.

Thanks.

  • Cris answered Oct 28, 2016 - 8:29 pm
0 votes
In reply to: Enhanced MonthCalendar

Hi Frank, Luca,

You nailed it using 1.2.85.

I believe so. The Starbucks analogy is the key and now, I only need one trip to grab that two items.

Nice weekend to both of you.

Thanks.

 

  • Cris answered Oct 28, 2016 - 8:19 pm
0 votes

It seems to be working now with the new version 🙂

About mid December is when I am think about starting the work to port our product cloud management suite over to wisej. FYI It is a massive project that has been using VisualWebGUI for 5+ years.

  • Mark Reed answered Oct 28, 2016 - 6:18 pm
0 votes
In reply to: ListView ColumnHeader

Hi Cris,

new build (1.2.85) is available now.

Best regards
Frank

0 votes

Hi Cris,

nice story about Starbucks, seems you have convinced Luca with that 🙂

The new build (1.2.85) includes the additions/refinements that Luca listed in his previous post.

Can you please retest ?

Thanks
Frank

0 votes
In reply to: Beta Updates

A new build (1.2.85) has just been uploaded.

It fixes the problems with ListView in design mode and the Month/Year selector in DateTimePicker has been improved.

0 votes

Hi Luca,

I understand your point and agree with you.

Honestly, the way it works now is already acceptable except for one thing. If SuggestAppend, the second character entered in the edit control is appended to the suggested string as shown on Excel table I sent you (in cell C21 and C22). Pressing tab or clicking the highlighted item in the dropdown list doesn’t change the value in the edit control. Have you considered this behaviour?

Thanks.

  • Cris answered Oct 28, 2016 - 4:16 pm
0 votes

Hi Cris,

We can’t replicate the filtering that you see in winforms. It’s not the dropdown portion. If you try in winform with the dropdown open you’ll see that it shows a second popup overlapping the drop down a bit with the suggested entries. The suggestion panel in winforms is the same used for the textbox and it’s a windows feature overlapping the drop down.

We were trying to match Suggest, Append and SuggestAppend in a logical way to behavior. This is what we were aiming for:

  • Suggest: Opens the drop down automatically to “suggest” the selection when typing. Nothing else. Only the first match is highlighted.
  • Append: Doesn’t open the dropdown automatically, but it appends the remaining part of the selected item if there is a match.
  • SuggestAppend: Same as Append but it also automatically opens the dropdown.

Best,

Luca

  • Luca answered Oct 28, 2016 - 3:21 pm
0 votes

🙂

Frank said the same a couple of days ago – except the Starbucks part. I told him to wait for the first issue and now we have it.

The issue was whether to add two buttons: ok, cancel. Which would have required localization and still a second or third click to close.

This is how it is now (in the next update):

  • F2 or Alt-Down open the mont-year selector, in addition to the click.
  • Keyboard is supported: Esc, Enter, Left/Right change the month, Up/Down change the year and scrolls if out of range.
  • Click on month and year (or year and month) close automatically.
  • There is a new close icon next to the navigation arrows.

Best,

Luca

 

 

  • Luca answered Oct 28, 2016 - 3:17 pm
0 votes
In reply to: ListView ColumnHeader

Hi Cris,

Thanks, it’s all fixed and will be in the update today. We were focusing on unit and ui tests – we are using the mono winforms tests and did’t pay enough attention to the designer.

However, the items added at design time cannot be shows in the designer at the moment. The listview (like the grid) use an http callback to query for “pages” of data and at design time we have to instead “feed” the data to the renderer. We have the code for it but it’s not fully functional at the moment – so it’s better to leave it blank.

Bestt,

Luca

 

  • Luca answered Oct 28, 2016 - 3:10 pm
0 votes
In reply to: ListView ColumnHeader

Hi Frank,

Design Time:

While adding Columns, they are visible right away in the ListView now when property View=Details. Deleting the ListView itself, still doesn’t clean up the designer.cs file.

No code is generated in designer.cs file when adding SubItems. That’s why I don’t see anything on the screen at design-time and at runtime.

Using the designer, in  ListView Tasks, clicked “Edit Items”.  In ListViewItem Collection Editor, clicked Add and in Text Property, enter “Product 1” It created an object of type ListViewItem in designer.cs as listViewItem1. In the Property Grid, clicked SubItems (Collection) to open the ListViewSubItem Collection Editor. The ListViewItem (Product 1) I added is already there and  becomes a ListViewSubItem. In Winform, it would not appear there as a SubItem. Clicked “Add” twice, and entered something in Text property. Clicked OK->OK.

Looked at the designer.cs file and no code was generated for the SubItems I added. Re-opened the ListViewSubItem Collection Editor and SubItems are still there. Closed the form, re-opened it and SubItems were gone.

Runtime:

Adding Items at runtime seems to work properly.

My story looks messy but that’s how I did it using Build 1.2.84. If you still need a sample, just give a shout.

Thanks.

 

 

 

  • Cris answered Oct 28, 2016 - 12:55 pm
  • last active Oct 28, 2016 - 1:08 pm
0 votes

Hi Frank,

Please see attached file. It is based on the WinForm project included in ComboBoxTest solution I sent you. Please note of how the dropdown list is filtered everytime a user types a character in the edit control.

Append mode is working as expected like before.

Thanks.

  • Cris answered Oct 28, 2016 - 5:18 am
  • last active Oct 28, 2016 - 1:01 pm
0 votes

Hi

Noticed you have added a popup control. Can this be used as a custom drop down or has this yet to be implemented?

How do you use the Alignment property?

Thanks for your help

Ewan

  • Ewan answered Oct 28, 2016 - 9:37 am
  • last active Oct 28, 2016 - 9:50 am
0 votes
In reply to: FlowLayoutPanel

Hi Luca,

Yehey!!! It’s now fixed using 1.2.84.

Thanks.

  • Cris answered Oct 28, 2016 - 5:26 am
0 votes
In reply to: Enhanced MonthCalendar

Hi Frank,

Confirmed fixed using 1.2.84 and it looks better now as month and year are highlighted. Almost perfect! Why did I say that?

I have master and he wants Ancho Chipotle Chicken and Chile Mocha Frappuccino from Starbucks. How would I do that?

Option 1:

  • go to Starbucks -> buy Ancho Chipotle Chicken -> go back to office and give it to my master.
  • go back to Starbucks -> buy Chile Mocha Frappuccino -> go back to office and give it to my master.

Option 2:

  • go to Starbucks -> buy Ancho Chipotle Chicken and Chile Mocha Frappuccino at the same time -> go back to office and give them both to my master at the same time.

If I go for Option 1, my master will be mad at me so, I would definitely go for Option 2 and wouldn’t it be nice if the MonthCalendar works like that?. If a user wants to change the month and year, he/she should be able to do it in one go. Currently, when a user clicks a month, the month/year selector closes and needs to be reopened to change the year. Not so user-friendly. Just my 2 cents.

Thanks.

 

 

  • Cris answered Oct 28, 2016 - 3:32 am
0 votes

Works like a charm! Thanks Luca!

  • Chris answered Oct 27, 2016 - 10:05 pm
0 votes
In reply to: ListView ColumnHeader

I was using the form designer “edit items…” nothing special.

I added the items in the Windows_load function and they appear fine.

Also adding a column click event handler throws an error.

  • Mark Reed answered Oct 27, 2016 - 9:53 pm
0 votes

 

Use this class instead of HtmlPanel. It removes “top:0px” and adds “bottom:0px” to the inner html widget. It can be in many ways, this one doesn’t require a javascript extended class.

 

public class HtmlPanelEx : HtmlPanel
{
  public HtmlPanelEx()
  {
    // make sure the control is created, otherwise
    // Update may re-enter when calling Eval() on a control that is not
    // created yet (this "problem" may probably be changed).
    CreateControl();
  }

  public override void Update()
  {
    // if the control is created and it's a new rendering, dock the
    // inner html widget to the bttom.
    if (this.Created && ((IWisejControl)this).IsNew)
    {
      DockHtmlWidgetToBottom();
    }
    base.Update();
  }

  private void DockHtmlWidgetToBottom()
  {
    // remove the top style and add the bottom style
    // when the widget is rendered into the dom.
    this.Eval(@"
      this.addListenerOnce('appear', function() {
        var el = this.getChildControl('html').getContentElement();
        el.setStyle('top', null);
        el.setStyle('bottom', '0px');
      }); 
    ");
   }
}

 

  • Luca answered Oct 27, 2016 - 9:29 pm
0 votes
In reply to: ListView ColumnHeader

Cris,

WJ-7737 is fixed in the latest build (1.2.83).

Best regards
Frank

0 votes

Hi Cris,

can you please retest Suggest and SuggestAppend in the latest build (1.2.83) ?

WJ-7736 has been implemented.

Thanks
Frank

Showing 10261 - 10280 of 11k results