[CLOSED] Things changed or removed between 1.3 and 2.0 and not found in Changelog

Page 1 of 3 123 LastLast
  1. #1

    [CLOSED] Things changed or removed between 1.3 and 2.0 and not found in Changelog

    Hello in this thread, I will list all thing I found in my 1.3 code that I upgrade to 2.0 beta and I did not find in the changelog.

    1.3
    NumericField allowNegative has disapeared
    AllowNegative="False"
    2.0
    MinValue="0"
    1.3
    Combobox ListClass disapeared
    2.0
    Use ListConfig
    <ext:ComboBox runat="server">
        <ListConfig runat="server" Cls="my-list" />
    </ext:ComboBox>
    1.3
    Store RestFull attribute
    2.0
    ?

    1.3
    DesktopWindow disapeared
    2.0
    Change to Window (to confirm)

    1.3
    Column Editable attribute disapeared
    2.0
    ?

    1.3
    DesktopWindow InitCenter disapeared
    2.0
    ?

    1.3
    in this code :
                    <ext:Window
                        Title='Dashboard'
                        runat="server"
                        AutoDataBind="true"
                        Modal="false"
                        ID="wndDashboard"
                        Maximized="true"
                        TitleCollapse="true"
                        Hidden="false" Collapsible="True" MinWidth="800px" MinHeight="600px">
                        <AutoLoad Url="Dashboard.aspx" Mode="IFrame" PassParentSize="True" ShowMask="True" />
                    </ext:Window>
    <autoload...> element is not allowed
    2.0
    ?

    1.3
    Column Editable attribute has disapeared
    2.0
    ?

    1.3
    Column AutoExpandMin attribute has disapeared
    2.0
    ?

    1.3
    Column AutoExpandMax attribute has disapeared
    2.0
    ?

    1.3
    In this code :
    <Plugins>
        <ext:RowEditing ID="RowEditingOSA" runat="server" SaveText="Update" ClicksToEdit="2" >
            <DirectEvents>
                <BeforeEdit OnEvent="ValidateEditRight">
                    <ExtraParams>
                        <ext:Parameter  Name="data" Value="#{grdOSA}.store.getAt(rowIndex).data" Mode="raw" Encode="true" ></ext:Parameter>
                    </ExtraParams>
                </BeforeEdit>
                <AfterEdit  OnEvent="AddData">
                    <ExtraParams>
                        <ext:Parameter  Name="data" Value="r.data" Mode="raw" Encode="true" ></ext:Parameter>
                    </ExtraParams>
                </AfterEdit>
            </DirectEvents>
            <Listeners>
                <PreEdit Handler="#{grdOSA}.setDisabled(false);"/>
                <CancelEdit Fn="cancelAddOSAData" />
            </Listeners>
        </ext:RowEditing>
    </Plugins>
    AfterEdit disapeared
    2.0
    change to ValidateEdit (to confirm)

    1.3
    gridPanel
    <LoadMask ShowMask="true" />
    2.0
    ?

    1.3
    Grid Gouping HideGroupedColumn disapeared
    2.0
    ?

    1.3
    Grid Gouping GroupTextTpl disapeared
    2.0
    ?

    1.3
    RowEditor SaveText="" disapeared
    2.0
    ?

    CODE BEHIND :

    1.3
    If Ext.Net.X.IsIE Then
    2.0
    IsIE is not a member of Ext.Net.X


    1.3
    Dim ColumnModel As Ext.Net.ColumnModel
    2.0
    Type not defined

    1.3
    grd.ColumnModel.Columns(7).Editor.Editor.Disabled=false
    2.0
    Editor is not a member of Ext.Net.EditorCollection

    1.3
    combobox.SelectedIndex = i
    2.0
    SelectIndex is not a mamber of Ext.Net.ComboBox

    1.3
    Dim RwEdit As RowEditor
    2.0
    RowEditor undefined.

    For now, I think I have noticed all the problem I encounter. Anout Editor in code behind, I think it is due too he fact it was not anymor a roweditor but a rowediting, I will search in that direction. For the rest, I have no idea.

    ...To be continued
    Last edited by Daniil; Apr 19, 2012 at 9:57 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Quote Originally Posted by feanor91 View Post
    1.3
    Store RestFull attribute
    2.0
    ?
    Please use RestProxy.
    https://examples2.ext.net/#/GridPanel/Restful/Overview/
  3. #3
    Quote Originally Posted by feanor91 View Post
    1.3
    DesktopWindow disapeared
    2.0
    Change to Window (to confirm)
    Confirmed.

    Some more details.

    In Ext.NET v1.x you should set up DesktopModule WindowID.

    DesktopModule WindowID has been removed in Ext.NET v2. Please use the inner Window property.

    Example
    <ext:DesktopModule ModuleID="Hello" AutoRun="true">
        <Window>
            <ext:Window 
                runat="server"
                Title="Greeting">
                <Content>
                    Welcome to Ext.Net desktop!
                </Content>
            </ext:Window>
        </Window>
    </ext:DesktopModule>
    Also you might be interested to investigate this example.
    https://examples2.ext.net/#/Desktop/...tion/Overview/
    Last edited by Daniil; Apr 18, 2012 at 12:01 PM.
  4. #4
    Quote Originally Posted by feanor91 View Post
    1.3
    Column Editable attribute disapeared
    2.0
    ?
    Yes, it has been removed.

    Now you can use BeforeEdit listener of the CellEditing plugin. Returning false prevents editing.

    Example
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Store store = this.GridPanel1.GetStore();
                store.DataSource = new object[] 
                { 
                    new object[] { "test1" },
                    new object[] { "test2" },
                    new object[] { "test3" }
                };
                store.DataBind();
            }
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:GridPanel ID="GridPanel1" runat="server" AutoHeight="true">
            <Store>
                <ext:Store runat="server">
                    <Model>
                        <ext:Model runat="server">
                            <Fields>
                                <ext:ModelField Name="test" />
                            </Fields>
                        </ext:Model>
                    </Model>
                </ext:Store>
            </Store>
            <ColumnModel runat="server">
                <Columns>
                    <ext:Column runat="server" Text="Test" DataIndex="test">
                        <CustomConfig>
                            <ext:ConfigItem Name="editable" Value="false" Mode="Raw" />
                        </CustomConfig>
                        <Editor>
                            <ext:TextField runat="server" />
                        </Editor>
                    </ext:Column>
                </Columns>
            </ColumnModel>
            <Plugins>
                <ext:CellEditing runat="server">
                    <Listeners>
                        <BeforeEdit Handler="return e.column.editable;" />
                    </Listeners>
                </ext:CellEditing>
            </Plugins>
        </ext:GridPanel>
    
        <ext:Button runat="server" Text="Enable editing">
            <Listeners>
                <Click Handler="#{GridPanel1}.columns[0].editable = true;" />
            </Listeners>
        </ext:Button>
    </body>
    </html>
  5. #5
    Quote Originally Posted by Daniil View Post
    Yes, it has been removed.

    Now you can use BeforeEdit listener of the CellEditing plugin. Returning false prevents editing.
    Or have no editor in the collumn?

    I explain : i have 11 Grid with 80 collumns in all, so implementing your method will take a little time. For now, only editable cells have an editor configured.
  6. #6
    Quote Originally Posted by feanor91 View Post
    Or have no editor in the collumn?

    I explain : i have 11 Grid with 80 collumns in all, so implementing your method will take a little time. For now, only editable cells have an editor configured.
    Yes, if some Column has no Editor, this Column is not editable.
  7. #7
    Perfecto :)
  8. #8
    Quote Originally Posted by Daniil View Post
    Please could you explain what is the Restfull or RestProxy goal? By the way when interacting with th grid in the demo, it conduct to a HTML Error 405
  9. #9
    Quote Originally Posted by feanor91 View Post
    1.3
    DesktopWindow InitCenter disapeared
    2.0
    ?
    This property was redundant and has been removed.

    If you need to center an initially maximized Window after restoring you can set up the following Restore listener.

    Example
    <ext:Window runat="server" Maximized="true" Maximizable="true">
        <Listeners>
            <Restore Handler="this.center();" Single="true" />
        </Listeners>
    </ext:Window>
    We will also consider a possibility to center it by default.
  10. #10
    Quote Originally Posted by feanor91 View Post
    1.3
    in this code :
                    <ext:Window
                        Title='Dashboard'
                        runat="server"
                        AutoDataBind="true"
                        Modal="false"
                        ID="wndDashboard"
                        Maximized="true"
                        TitleCollapse="true"
                        Hidden="false" Collapsible="True" MinWidth="800px" MinHeight="600px">
                        <AutoLoad Url="Dashboard.aspx" Mode="IFrame" PassParentSize="True" ShowMask="True" />
                    </ext:Window>
    <autoload...> element is not allowed
    2.0
    ?
    Please see the item #71:
    https://examples2.ext.net/#/Getting_...nts/CHANGELOG/
Page 1 of 3 123 LastLast

Similar Threads

  1. [CLOSED] Ext.Net 2.1 version changelog
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 14, 2012, 10:59 AM
  2. [CLOSED] ChangeLog Questions
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 12, 2012, 2:56 PM
  3. Replies: 12
    Last Post: Jul 25, 2011, 2:25 PM
  4. [CLOSED] I can not find the file CHANGELOG.txt?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 26, 2010, 11:40 AM

Posting Permissions