[CLOSED] Store Callback not firing

  1. #1

    [CLOSED] Store Callback not firing


    I think that due to revision 4362 of Ext.NET 2.1 now this test case isn't working. But if you don't set AutoLoad property, works right.

    <!DOCTYPE html>
    <head runat="server">
        <title>GridPanel with FitLayout - Ext.NET Examples</title>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:Button runat="server" Text="Reload My Grid">
                <Click Handler="grid1.setDisabled(true);
                                grid1.getStore().warningOnDirty = false;
                                    callback: function () {
                                        alert('callback raised');
                                grid1.getStore().warningOnDirty = true;" />
        <ext:Window ID="Window1" runat="server" Collapsible="true" Maximizable="true" Icon="Lorry"
            Title="Job List" Width="600" Height="300" X="50" Y="50" Layout="Fit">
                <ext:GridPanel ID="grid1" runat="server" Header="false" Border="false">
                        <ext:Store ID="Store1" runat="server" PageSize="10" AutoLoad="false">
                                <ext:AjaxProxy Url="/Area/Sample/Data">
                                        <ext:JsonReader IDProperty="ID" Root="data" />
                                <ext:Model runat="server" IDProperty="ID">
                                        <ext:ModelField Name="ID" />
                                        <ext:ModelField Name="Name" />
                                        <ext:ModelField Name="Value" />
                    <ColumnModel runat="server">
                            <ext:Column runat="server" Text="ID" Width="40" Sortable="true" DataIndex="ID" />
                            <ext:Column runat="server" Text="Job Name" Sortable="true" DataIndex="Name" Flex="1" />
                            <ext:Column runat="server" Text="Value" Width="120" Sortable="true" DataIndex="Value" />
                        <ext:GridView runat="server" LoadMask="false" LoadingUseMsg="false" StripeRows="true" TrackOver="true" />
                        <ext:PagingToolbar runat="server" DisplayInfo="true" DisplayMsg="Displaying Jobs {0} - {1} of {2}" />
    Last edited by Daniil; Sep 21, 2012 at 11:42 AM. Reason: [CLOSED]
  2. #2
    Thanks for the report. Fixed in SVN
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Tested and working. (rev 4366)


Similar Threads

  1. Store callback twice on data request
    By yossi in forum 1.x Help
    Replies: 1
    Last Post: Jun 06, 2012, 2:55 PM
  2. [CLOSED] Store OnRefreshData callback exectuted twice
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 09, 2009, 7:02 AM
  3. [CLOSED] [1.0] Store callback problem
    By state in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 20, 2009, 6:19 PM
  4. Callback
    By hbbazan in forum 1.x Help
    Replies: 0
    Last Post: Jul 28, 2009, 3:52 PM
  5. [CLOSED] Store + Reload Callback
    By state in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 29, 2009, 1:24 PM

Tags for this Thread

Posting Permissions