PDA

View Full Version : [CLOSED] [2.x] Ext.Net.FormPanel missing.



drkoh
Aug 28, 2012, 3:10 PM
Hi, In the latest Ext.Net version 2.x, looks like the Ext.Net.FormLayout no longer exists. Is it being replaced with something else?
Thanks.

Daniil
Aug 28, 2012, 5:05 PM
Hi,

The CHANGELOG item #34.
http://examples2.ext.net/#/Getting_Started/Release_Documents/CHANGELOG/



34. "Layout" type controls has been removed. Use the Layout and LayoutConfig properties of a container.

drkoh
Aug 28, 2012, 5:16 PM
Got it, Thanks

Daniil
Aug 29, 2012, 7:02 AM
Please note that FormLayout is not the same as it is in Ext.NET v1. It just places the fields one under the other and stretches them.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.layout.container.Form (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.layout.container.Form)

It doesn't use the fields Anchor option. If you need this option, then please use AnchorLayout. AnchorLayout is the default one of FormPanel.