title: Adding Control to Control collection with Telerik
body: <p>I've been using Telerik for the first time and have come across an issue I am unable to resolve due to my implementation. I have a MainPage.aspx that has a RadTabStrip with a RadMultiPage associated with it. Within the page views I have some user created control (.ascx) pages and have implemented them so that when a certain tab is selected the ascx page will show within the page view. I've been working on each page separately and now I'm having to work on the Search page functionality, of which I inserted a RadGrid within a RadPageLayout as seen below:</p>
  
  <pre><code>    &lt;Rows&gt;
          &lt;telerik:LayoutRow&gt;
              &lt;Columns&gt;
                  &lt;telerik:CompositeLayoutColumn Span="12"&gt;
                      &lt;Content&gt;
                          &lt;telerik:RadGrid ID="rgSearchResults" Width="700px" runat="server" AllowPaging="true" AllowSorting="true"&gt;
                          &lt;/telerik:RadGrid&gt;
                      &lt;/Content&gt;
                  &lt;/telerik:CompositeLayoutColumn&gt;
              &lt;/Columns&gt;
          &lt;/telerik:LayoutRow&gt;
      &lt;/Rows&gt;
  </code></pre>
  
  <p>There hasn't been any data binding, etc, all I'm trying to do is navigate to the search tab but when I do I get that frustrating error "Page cannot be null. Blah Blah Blah" I've looked online and found that I need to add the control to the controls collection of the page, but with my implementation I cant seem to find a way to do this. I've tried to add it in the "!IsPostBack" Page Load event of the search.ascx page but I get a separate error with this. And if I try to add it in the Main.aspx page it still doesn't find it... Never had this much trouble on regular asp.net/C#.. Please help!</p>