title: EXT: Cannot read property 'reload' of undefined
body: <p>I have a dropdown field and I am trying to reload its store on AfterRender but I receive this error:</p>
  
  <blockquote>
    <p>Cannot read property 'reload' of undefined</p>
  </blockquote>
  
  <p>Here is the code:</p>
  
  <p>Javascript reload:</p>
  
  <pre><code>function LoadAll(){
      #{StoreFieldNames}.reload();
  }
  </code></pre>
  
  <p>Ext Code:</p>
  
  <p>Window afterRender:</p>
  
  <pre><code>&lt;AfterRender Handler="LoadAll();" /&gt;
  </code></pre>
  
  <p>DropDownField editor in Gridpanel</p>
  
  <pre><code>&lt;ext:DropDownField
       ID="DropDownField2"
       runat="server"
       FieldLabel="Field Name"&gt;
            &lt;Component&gt;
                 &lt;ext:GridPanel ID="FieldNameGridPanel"
                     runat="server"
                     Frame="true"&gt;
                         &lt;Store&gt;
                            &lt;ext:Store ID="StoreFieldNames" runat="server" GroupField="Form" OnReadData="StoreFieldNames_ReadData"&gt;
                                &lt;Model&gt;
                                    &lt;ext:Model ID="ModelFieldNames" runat="server"&gt;
                                        &lt;Fields&gt;
                                            &lt;ext:ModelField Name="Form" /&gt;
                                            &lt;ext:ModelField Name="FieldName" /&gt;
                                        &lt;/Fields&gt;
                                    &lt;/ext:Model&gt;
                                &lt;/Model&gt;
                            &lt;/ext:Store&gt;
                        &lt;/Store&gt;
                        &lt;ColumnModel runat="server"&gt;
                            &lt;Columns&gt;
                            &lt;ext:Column runat="server" Text="Form" DataIndex="Form" Flex="6" /&gt;
                            &lt;ext:Column runat="server" DataIndex="FieldName" Flex="6" /&gt;                                                               
                            &lt;ext:ImageCommandColumn runat="server" Align="Center" Flex="1"&gt;
                                 &lt;Commands&gt;
                                       &lt;ext:ImageCommand Icon="Accept" CommandName="Pick"&gt;
                                              &lt;ToolTip Text="Click to choose this fieldname" /&gt;
                                       &lt;/ext:ImageCommand&gt;
                                 &lt;/Commands&gt;
                                 &lt;Listeners&gt;
                                    &lt;Command Handler="this.gridRef.dropDownField.setValue(record.data.FieldName);" /&gt;
                                 &lt;/Listeners&gt;
  
                             &lt;/ext:ImageCommandColumn&gt;
                         &lt;/Columns&gt;
                    &lt;/ColumnModel&gt;
                    &lt;View&gt;
                        &lt;ext:GridView ID="GridView3" runat="server" LoadMask="true" /&gt;
                    &lt;/View&gt;
  
                    &lt;SelectionModel&gt;
                         &lt;ext:RowSelectionModel ID="RowSelectionModel3" runat="server" Mode="Multi" /&gt;
                    &lt;/SelectionModel&gt;
  
                    &lt;Features&gt;
                         &lt;ext:Grouping ID="Grouping3 runat="server" HideGroupedHeader="true" StartCollapsed="true" /&gt;
                    &lt;/Features&gt;
                 &lt;/ext:GridPanel&gt;
              &lt;/Component&gt;
        &lt;/ext:DropDownField&gt;
  </code></pre>