All Answers

0 votes

Hi Luca,

I knew about the e.Cancel in the OnFormClosing, that’s why I was expecting the same in OnDeActivate. I hadn’t thought about calling the Activate method in the OnDeActivate event.

However, when I did it, I got stacked in a stackoverflow. It looks like the activation in the deactivate event keeps firing in a loop. Unless I haven’t understood your comment above “In the activation/deactivation process Wisej checked whether the deactivated form has reactivated itself” and I should be doing something myself.

I have attached a simple project which shows the problem. Go to the second MDI tab: with the textbox empty, you can freely switch tabs. If you enter “1” in the textbox and try to switch, the operation is caught in the deactivate/activate chain and the stackoverflow occurs.

Best,
Alex

  • Alex Prinias answered Oct 23, 2016 - 10:29 am
0 votes

Hi Alex,

You can prevent a form (including mdi children) from getting deactivated by calling Activate() in OnDeactivate(). In the activation/deactivation process Wisej checked whether the deactivated form has reactivated itself.

You can also prevent a form (including mdi children) from getting closed by setting e.Cancel=true in OnFormClosing().

Best,

Luca

 

  • Luca answered Oct 22, 2016 - 10:11 pm
0 votes

Hi Ewan,

Hopefully yes, but it will not be based on the toolstrip since the toolstrip system is targeted for the second release – it’s a big beast. The BindingNavigator is essentially simply a toolbar that uses the navigation methods on the BindingSource.

Best,

Luca

  • Luca answered Oct 20, 2016 - 9:37 pm
0 votes

Hi John,

UseVisualStyleBackColor is a Winforms only property that can be safely removed.

You will get errors for the BorderStyle and FormBorder as well since we have used values that are consistent with the web rather than replicate obsolete properties.

Wisej can replace Winforms and it’s designed as close to Winforms as possible without replicating properties and functions that don’t make sense in a web environment. All controls in Wisej have a lot of new and extended features when compared to their winforms equivalent.

Best,

Luca

 

  • Luca answered Oct 20, 2016 - 5:37 pm
0 votes

Hi Luca

How is work on the Binding Navigator Progressing?

Is it still on target for the release in November?

Many Thanks

Ewan

  • Ewan Walker answered Oct 20, 2016 - 8:10 am
0 votes

Tried that in TextBox but not in ComboBox yet. Test it later.

Thanks.

  • Cris answered Oct 19, 2016 - 4:25 pm
0 votes

One more thing, if you want to update the client with the selected range, make sure that the textbox or combo has the focus. Wisej will not send back the selection range unless the control is focused. The reason is that the browsers change the focus when the selection range is applied.

  • Luca answered Oct 19, 2016 - 4:19 pm
0 votes

Yes, it’s the same. Same fix and workaround.

  • Luca answered Oct 19, 2016 - 3:37 pm
0 votes

Hi Luca,

This bug also seems to apply in ComboBox when I was using a KeyUp event. If you don’t mind, maybe you can also check it.

Thanks.

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

Yes, thanks. Confirmed bug and fixed in the next update.

As a workaround, set the SelectionLength to 0 or higher before setting the SelectionStart.

  • Luca answered Oct 19, 2016 - 3:20 pm
0 votes
In reply to: ASP.NET Wrapper

Yes, in fact it’s being used for the tests.

You can already use it with the AspPanel if you create an aspx page.

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

Hi Ewan,

See answers below:

  • There is no paging in Wisej. The grid uses a virtual scroller/renderer – only the visible cells are rendered to the dom. The same for the listview. Since paging is a combination of prev/next navigation and scrolling, it’s relatively easy to add a pager and populate only the page rows.  You can drop a panel inside a grid and dock to bottom. We could also create a pager extension component that can be used in several contexts.
  • There is no custom dropdown control yet. It’s on the todo list.
  • IsDelayedDrawing is not relevant in Wisej.
  • There is a UserPopup or PopupPanel on the todo list that would allow you to attach an automatic popup to any control and to show/hide it programmatically.
  • The KeyDown, KeyUp, and KeyPress are all available.

Best,

Luca

  • Luca answered Oct 19, 2016 - 3:18 pm
0 votes

Hi

Is there a custom combo box drop down option?

So you can create such things as a multicolumn combo box or a combo box with a drop down tree view both of which I use extensively?

With a multicolumn combo box you need a way of resizing the drop down height to reflect the number of searched for items together with a maximum height before the grid starts paging or scrolling if paging is not an option

Ewan

  • Ewan Walker answered Oct 19, 2016 - 2:23 pm
0 votes
In reply to: ASP.NET Wrapper

Thanks Luca

Once the wrapper is complete would I be able to use it to wrap Report Viewer?

Thanks

Ewan

  • Ewan Walker answered Oct 19, 2016 - 9:17 am
0 votes

Hi Luca,

Got it working using the ForeColor property and the built-in theme. There is no such property in WinForm and I was surprised.

Thanks.

  • Cris answered Oct 18, 2016 - 5:53 am
0 votes

Yeah, in the beginning I hadn’t put the AssemblyInfo and the Platform in the “client” project, I did it just for checking… The actual problem was of course that I had forgotten this …. small detail, to set the property to true… Duhh!

Thank you Luca!

Alex

  • Alex Prinias answered Oct 17, 2016 - 3:07 pm
0 votes

Hi Alex,

Two issues:

  1. Remove /Platform and WisejResources from the TestComboBox app. That’s needed only in the library project. Otherwise you are declaring the javascript class twice. The library project has all it needs to work.
  2. You need to set the ShowLoader property to true, add  comboBoxEx2.ShowLoader = true; and it works.

Best,

Luca

 

  • Luca answered Oct 17, 2016 - 3:02 pm
0 votes

Hi Luca,

I meant your attached, but for your convenience I have now included it. I have added a new TestComboBoxEx project with its own Window1, referencing your project. I have changed the AsseblyInfo.cs and created a Platform folder with the javascript in it. If I run it, the loader icon does not show up. If I change the startup project to your project, and its own Window1, it does.

Best,
Alex

  • Alex Prinias answered Oct 17, 2016 - 2:55 pm
0 votes

Hi Luca,

I was actually looking for MultiSelect property and didn’t notice that MaxSelectionCount. Sorry.

Thanks for the info

  • Cris answered Oct 17, 2016 - 2:50 pm
0 votes

Yes, unfortunately the collapsed state at design time is still a pain. Getting there though…

/Luca

  • Luca answered Oct 17, 2016 - 2:23 pm
Showing 10321 - 10340 of 11k results