All Answers

0 votes

Thank you Alex. Fixed in build, will update soon (it’s updated on the test server). Waiting to confirm the fixes, since a couple have caused regressions.

  • Luca answered Aug 25, 2016 - 6:58 pm
0 votes

Not intended. If you call .Update() on any control, or the form itself, the context will be restored and Application.Browser will be available.

The context is now restored automatically as soon as any visual property of any control is changed, since all controls carry a reference to the session.

The unforeseen issue is if there is a need to access the static context (Application) before an automatic restore… Don’t have a good solution yet, may have to re-add something like Application.Context and Application.Restore(context). Don’t know yet.

  • Luca answered Aug 25, 2016 - 6:52 pm
0 votes

Hi Luca,

This is what I have been looking for and a great starting point. I now have something to play with.

Thanks.

 

  • Cris answered Aug 25, 2016 - 5:58 pm
0 votes

If you change this.ResumeLayout(false); to this.ResumeLayout(true); in the Designer.cs file – last line, it fixes it. This will be fixed quickly on our end. The designer generates (true) sometimes and (false) some other…

  • Luca answered Aug 25, 2016 - 5:11 pm
0 votes

Thanks. It’s related to WJ-7487: Child controls inside SplitContainer don’t resize when application starts with WindowState = Maximized

The problem occurs when starting maximized. Reopened.

  • Luca answered Aug 25, 2016 - 5:04 pm
0 votes

Attached. It’s rudimentary but I’m sure you’ll get the gist.

  • Luca answered Aug 25, 2016 - 4:56 pm
  • last active Aug 25, 2016 - 4:56 pm
0 votes

Hi Tiago,

The DGV is a container in the designer now, you can drag & drop controls on it. The Controls collection is hidden for IntelliSal – will make it visible now, it was missed.

The main reason is that you can create a complex custom grid panel maintaining all the features, properties, events. Otherwise, if you have to wrap the grid to add a status bar, or a button bar, you lose a large number of events and methods and properties that have to be wrapped. This was a show stopper requirements on projects that used the VWG extender header used to add a toolbar and other projects using javascript widgets with grids that can show a status bar or a toolbar. With this enhancements we are way more flexible than just adding a status bar.

The other enhancement that you mentioned is also a requirement we have but it’s more complicated and will take a bit longer. But we will have the option to include a custom control in any cell and even span more cells.

Best,

Luca

 

  • Luca answered Aug 25, 2016 - 3:15 pm
0 votes

Hi,

First of all, one note: the “Controls” collection property doesn’t show on the DGV properties.

 

I downladed the sample DGVWithTools and ran it. I don’t quite understand how this is differerent from having

panel { control1, control2, dataGridView1, control3 }

I though this was more like having a column of an arbitraty control type, say a TreeView and each row would show its own TreeView. I’m not saying I need this feature; I’m just saying this would be really awesome… and groundbreaking… and mind blowing… and…

  • Tiago Freitas Leal answered Aug 25, 2016 - 3:07 pm
0 votes

Hi Luca,

Sorry but I have been looking for “DataGridView.Column.Editor property” you mentioned above to no avail. Maybe, I don’t fully understand what you mean.

If possible, a small sample/test app would help me start exploring this feature.

Thanks.

  • Cris answered Aug 25, 2016 - 2:46 pm
0 votes

Hi Luca,

Thanks for the info. Eliminated references to Context and again working.

 

 

  • Cris answered Aug 25, 2016 - 2:28 pm
0 votes

Application.Context has been eliminated. It’s not needed anymore, it’s a lot simpler to update from an out-of-bound thread simply calling Application.Update() instead of having to save the context somewhere and restore. It was particularly difficult when attaching handlers to another thread raising events – like  a thread timer, ticker, chat, machine input, etc.

There must be an old reference somewhere in the test app you are using.

I’m sorry we didn’t publish the list of updates, changes, fixes yet, the reason is that Frank is still on vacation and the list hasn’t been verified, retested, etc.

Best,

Luca

  • Luca answered Aug 25, 2016 - 2:19 pm
0 votes
In reply to: Responsive

Of course. There is a concept section for Responsive Layouts. We are also working on a Tutorials section.

 

Best,

Luca

  • Luca answered Aug 24, 2016 - 10:50 pm
0 votes
In reply to: Responsive

Hi Luca,

Can you add this info to the documentation?

  • Tiago Freitas Leal answered Aug 24, 2016 - 10:47 pm
0 votes

Yep, still on the list. However, now you can use a custom editor:

  • The DataGridView now support custom editors. You can assign or change the DataGridView.Column.Editor property at any time (even when processing the CellBeginEdit event) and use any control as the editor for the cell. The editor can also be a full form, in which case the data grid will show the form as a client-side modal (not server side modal) and will terminate editing when the form is closed. This features allows a cell to edit complex arbitrary data in custom designed forms.

Thanks for the info regarding the right/bottom resizable docking.

The Min/Max size properties seem to be working as expected. The control is still the single datagrid control and its Min/Max size refer to the entire control. The children are inside the grid and you can set the Min/Max size properties of the children.

Best,

Luca

  • Luca answered Aug 24, 2016 - 8:40 pm
0 votes

You will also like this (all the details of the update will be posted soon – still slow vacation time…):

– The DataGridView also supports hosting arbitrary controls inside itself. It now acts as a container at design time: you can drop any control on a DataGridView and the widget will adapt its internal layout to make room for the controls depending on the controls’ docking value. For example, if you add a TreeView to a DataGridView and the TreeView is docked to the left, the internal grid layout will line up to the rightof the TreeView. This feature can be used to add custom toolbars, status bars, side bars, edit panels, etc. If the dropped in controls are resizable, the internal layout can also be resized by the user. See screen show below for an example of the potential of this new feature:
  • Luca answered Aug 24, 2016 - 5:04 pm
  • last active Aug 24, 2016 - 5:06 pm
0 votes

Hi Luca,

You are quicker than I am. When I uninstalled 1.2.37.0 because of duplicate controls in the Toolbox and tried to re-install, I saw 1.2.38 to my surprise.

Tools in DGV is what I was waiting for. I’ll try it later and give you a feedback if there’s any.

Thanks for the info.

 

  • Cris answered Aug 24, 2016 - 4:55 pm
0 votes

Hi Cris, you were quick. Please update again, there was a break with the tool buttons were added to the DGV, TreeView and  MonthCalendar.

  • Luca answered Aug 24, 2016 - 4:48 pm
0 votes

Hi Luca,

Fixed in 1.2.37.o

Thanks.

  • Cris answered Aug 24, 2016 - 2:11 pm
0 votes

Hi Luca,

Using 1.2.37.0, both issues are now fixed.

Thanks.

  • Cris answered Aug 24, 2016 - 2:03 pm
0 votes

The unexpected token error looks like a syntax error in the javascript. Make sure that you are using the standard quotes in the assignment. If you copy/paste from wordpress you get the slanted quotes.

  • Luca answered Aug 23, 2016 - 6:30 pm
Showing 10741 - 10760 of 11k results