title: Find control in devexpress gridview Templates DetailRow
body: <p>I want to find control  in my gridview.Template detail row by id 
  </p>
  
  <pre><code>        bool IsAllAud = false;
          var item = (CheckBox)VendorsGrid.Templates.DetailRow.FindControl("CBIsAllAudience");
          IsAllAud = item.Checked;
          if (IsAllAud)
          {
  
          }
  </code></pre>
  
  
  
  <pre class="lang-html prettyprint-override"><code>&lt;dx:ASPxGridView ID="rt" ClientInstanceName="rt" runat="server"
              AutoGenerateColumns="false" DataSourceID="rtt" KeyFieldName="ID" Width="100%"&gt;
              &lt;SettingsDetail AllowOnlyOneMasterRowExpanded="true" /&gt;
              &lt;Columns&gt;
                  &lt;dx:GridViewDataTextColumn FieldName="Name" Caption="Name" /&gt;
              &lt;/Columns&gt;
              &lt;Templates&gt;
                  &lt;DetailRow&gt;
                      &lt;asp:CheckBox ID="CBIsAllAudience" runat="server" /&gt;
  ...
  </code></pre>