title: FindControl() returning null
body: <p>I have a PageControl and I added generic ASPxGridView and generic ASPxGridViewExporter to PageControl Control's.</p>
  <p>PageControl Code below;</p>
  <pre><code>   &lt;dx:ASPxPageControl ID=&quot;DataLookupTabs&quot; runat=&quot;server&quot; Width=&quot;100%&quot;
                              CssClass=&quot;dxtcFixed dxtcAligned horizontal-center-aligned&quot; TabAlign=&quot;Justify&quot; TabPosition=&quot;Top&quot; ActiveTabIndex=&quot;0&quot; EnableTabScrolling=&quot;true&quot; ContentStyle-BackColor=&quot;Transparent&quot; EnableHotTrack=&quot;True&quot; AutoPostBack=&quot;false&quot; EnableCallBacks=&quot;false&quot;&gt;
                              &lt;ContentStyle BackColor=&quot;Transparent&quot;&gt;&lt;/ContentStyle&gt;
     &lt;/dx:ASPxPageControl&gt;
  </code></pre>
  <p>Server Side Code below;</p>
  <pre><code> for (int j = 0; j &lt; (isSelectAllSelected ? userSession.MiscDataSet.Tables.Count : ds.Tables.Count); j++)
          {
              TabPage page = new TabPage();
              page.Text = LocalizationHelper.GetGroupGlobalResourceString(&quot;Tables&quot;, isSelectAllSelected ? userSession.MiscDataSet.Tables[j].TableName : $&quot;{ds.Tables[j].TableName}Label&quot;, isSelectAllSelected ? userSession.MiscDataSet.Tables[j].TableName : ds.Tables[j].TableName);
  
              ASPxGridView grid = new ASPxGridView();
              ASPxGridViewExporter gridExporter = new ASPxGridViewExporter();
              
              grid.ID = isSelectAllSelected ? $&quot;{userSession.MiscDataSet.Tables[j].TableName}_grid&quot; : $&quot;{ds.Tables[j].TableName}_grid&quot;;
              grid.DataSource = isSelectAllSelected ? userSession.MiscDataSet.Tables[j] : ds.Tables[j];              
              gridExporter.ID= $&quot;gridExporter_{j}&quot;;
              gridExporter.GridViewID = grid.ID;
              grid.DataBind();
              page.Controls.Add(grid);
              DataLookupTabs.TabPages.Add(page);
              DataLookupTabs.Controls.Add(gridExporter);
          }
  </code></pre>
  <p>After that I'm trying find ASPxGridViewExporter from PageControl.</p>
  <pre><code>ASPxGridViewExporter gridViewExporter = DataLookupTabs.FindControl($&quot;gridExporter{DataLookupTabs.ActiveTabIndex}&quot;) as ASPxGridViewExporter;
  </code></pre>
  <p>But gridViewExporter is coming null.</p>