title: ext.net Error : Control with type 'System.Web.UI.WebControls.SqlDataSource' cannot be handled by layout
body: <p>i have a web form .inside of this ,i am loading usercontroler via 
  <code>&lt;ext:UserControlLoader</code> .
  my user controler contains an sqldatasource.when i run the page ,i got the error something like this "Control with type 'System.Web.UI.WebControls.SqlDataSource' cannot be handled by layout".</p>
  
  <p>my web form is like this;</p>
  
  <pre><code> &lt;ext:ResourceManager ID="ResourceManager1" runat="server" /&gt;
     &lt;ext:Panel runat="server"&gt;
     &lt;Items&gt;
    &lt;ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="~/Controlers/SinifListe.ascx" /&gt;
     &lt;/Items&gt;
   &lt;/panel&gt;
  </code></pre>
  
  <p>and my usercontroler</p>
  
  <pre><code>    &lt;asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="&lt;%$ ConnectionStrings:AProjeConnectionString %&gt;"
      SelectCommand="SELECT * FROM [Sinif]"&gt;&lt;/asp:SqlDataSource&gt;
  
  &lt;ext:Panel runat="server" ID="mainpanelone" Title="listele" Flex="1" BodyStyle="background-color:#DFE9F6"&gt;
      &lt;Items&gt;
                  &lt;ext:Container ID="Container1" runat="server" Layout="HBoxLayout" Flex="1"&gt;
                      &lt;Items&gt;
                           &lt;ext:GridPanel ID="GridPanel2" runat="server" Title="Sınıf " Frame="true"  Width="300"&gt;
                              &lt;Store&gt;
                                  &lt;ext:Store ID="Store2" runat="server" DataSourceID="SqlDataSource2"&gt;
                                      &lt;Model&gt;
                                          &lt;ext:Model ID="Model2" runat="server" IDProperty="Id"&gt;
                                              &lt;Fields&gt;
                                                  &lt;ext:ModelField Name="Id" /&gt;
                                                  &lt;ext:ModelField Name="Ad" /&gt;
                                              &lt;/Fields&gt;
                                          &lt;/ext:Model&gt;
                                      &lt;/Model&gt;
                                  &lt;/ext:Store&gt;
                              &lt;/Store&gt;
                              &lt;ColumnModel ID="ColumnModel2" runat="server"&gt;
                                  &lt;Columns&gt;
                                      &lt;ext:Column ID="Column1" runat="server" DataIndex="Id" Text="Id" /&gt;
                                      &lt;ext:Column ID="Column2" runat="server" DataIndex="Ad" Text="Ad" /&gt;
                                  &lt;/Columns&gt;
                              &lt;/ColumnModel&gt;
                          &lt;/ext:GridPanel&gt;
                      &lt;/Items&gt;
                  &lt;/ext:Container&gt;
      &lt;/Items&gt;
  &lt;/ext:Panel&gt;
  </code></pre>
  
  <p>how can i solve this problem.
  *i put sqldatasources inside of the  web form and problem solved,however, i wanna use sqldatasources inside of my usercontroler</p>
  
  <p>**i make simple web form and usercontroler to be understandable.</p>