[CLOSED] Migration From 1.x to 2.1 issues

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Migration From 1.x to 2.1 issues

    Dear ,

    I'm planning to migrate from EXT.net 1.x to 2.1 , but i'm facing many changes ,

    the man change issue in store definition like in 2.1 using <Model> instead of <Reader>

    i tried to replace all but always give me out of memory cause i have more than 500 pages .

    could you please provide a simple plan to how to migrate it ..
    Last edited by Daniil; Jan 24, 2013 at 4:45 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Please, read the following thread http://forums.ext.net/showthread.php?18358

    i tried to replace all but always give me out of memory cause i have more than 500 pages .
    Can you provide example of code which you want to migrate to Ext.NET 2.x?
  3. #3
    Quote Originally Posted by Baidaly View Post
    Hello!

    Please, read the following thread http://forums.ext.net/showthread.php?18358



    Can you provide example of code which you want to migrate to Ext.NET 2.x?
    its not problem to change the code but i need to see the break change from 1.x to 2.1 cause in this link
    https://examples2.ext.net/#/Getting_...AKING_CHANGES/

    nothing about v 1.x .

    i have more that 500 pages , so i want to make small program will modified the pages by one click cause it will be hard to change it one by one so i need to read all the changes that happen from ext 1.x to 2.0
    Last edited by geoffrey.mcgill; Apr 30, 2013 at 12:51 PM.
  4. #4
    Hello,

    We described as many breaking changes as we could. Unfortunately, we have no more option to migrate instead of the ones which are listed in the post that @Baidaly referred.
  5. #5

    DirectEventConfig in store in ext.net 2.1

    Dear,
    we were using DirectEventConfig for store to show the event mask while it reading data in EXT.NET 1.2
       <ext:Store ID="sOfferingSubject" runat="server" IDMode="Static" AutoDataBind="true"
                AutoLoad="true" RemotePaging="true" OnRefreshData="sOfferingSubject_RefreshData">
                <Proxy>
                    <ext:PageProxy />
                </Proxy>
                <Model>
                    <ext:Model  runat="server" IDProperty="OfferingSubject_ID">
                        <Fields>
                            <ext:ModelField Name="OfferingSubject_ID" />
                            <ext:ModelField Name="Subject_ID" />
                            <ext:ModelField Name="Establesh_ID" />
                            <ext:ModelField Name="Collage_ID" />
                            <ext:ModelField Name="Institute_ID" />
                            <ext:ModelField Name="Department_ID" Type="Int" />
                            <ext:ModelField Name="Specialization_ID" Type="Int" />
                            <ext:ModelField Name="StudyPlan_ID" />
                            <ext:ModelField Name="Level" />
                            <ext:ModelField Name="Agenda_ID" />
                            <ext:ModelField Name="Semester_ID" />
                            <ext:ModelField Name="NumberOfOpenedClasses" />
                            <ext:ModelField Name="SubjecName" />
                            <ext:ModelField Name="DepartmentName" />
                            <ext:ModelField Name="InstitutesOrCollegeName" />
                            <ext:ModelField Name="SpecializationName" />
                            <ext:ModelField Name="EstableshType" />
                            <ext:ModelField Name="SubjectCoordinator_ID" />
                            <ext:ModelField Name="NumberOfLevels" />
                            <ext:ModelField Name="ActualHours" />
                            <ext:ModelField Name="EstablisheName" />
                            <ext:ModelField Name="NumberSymbole" />
                            <ext:ModelField Name="AgendYear">
                                <Convert Fn="curentStudyYearReset" />
                            </ext:ModelField>
                        </Fields>
                    </ext:Model>
                </Model> 
                <DirectEventConfig>
                    <EventMask ShowMask="true" Msg="Loading Your Data " />
                </DirectEventConfig>
                <AutoLoadParams>
                    <ext:Parameter Name="start" Value="0" Mode="Raw" />
                    <ext:Parameter Name="limit" Value="5" Mode="Raw" />
                </AutoLoadParams>
            </ext:Store>
    how this will be written in EXT.NET 2.1
  6. #6
    Thank you. We have just added a new breaking change item.
    156. The Store's DirectEventConfig has been removed.

    Use the PageProxy's RequestConfig property instead to apply required options for the actions which are done via a PageProxy.

    If you use, for example, the GridPanel's submitData JavaScript method you might need to pass a respective config directly to this method as the second parameter.
    https://examples2.ext.net/#/GridPane...ort_Data_Ajax/

    Example
    grid.submitData(false, { isUpload: true });

Similar Threads

  1. [CLOSED] Migration guide from Ext.Net 1.x to 2.x
    By bogc in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 30, 2012, 11:40 PM
  2. [CLOSED] Migration from 1.5 to 2
    By IanPearce in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 29, 2012, 12:40 PM
  3. [1.0] Any thoughts on migration to asp.net 4.0?
    By michaeld in forum 1.x Help
    Replies: 1
    Last Post: Aug 19, 2010, 1:49 AM
  4. Migration guidelines
    By drgw74 in forum Open Discussions
    Replies: 1
    Last Post: Jul 13, 2010, 4:35 PM
  5. Forum Migration
    By r_honey in forum Open Discussions
    Replies: 4
    Last Post: Jul 07, 2010, 8:00 AM

Tags for this Thread

Posting Permissions