Loading user control with <%@ Register NameSpace %> won't load user control .ascx file but .ascx.cs file instead
<p>I'm trying to load User Control from another project, And I like to do it with it's name space:</p>

<pre><code>&lt;%@ Register TagPrefix="IPGostar" Namespace="IPGostarPorject" Assembly="IPGostarPorject" %&gt;
</code></pre>

<p>but this way when I use this server tag: </p>

<pre><code>&lt;IPGostar:DataGrid runat="server" ID="DataGrid1"&gt;&lt;/IPGostar:DataGrid&gt;
</code></pre>

<p>the Page_Load of the DataGrid.ascx.cs will load but the content of ascx file won't load.
It's like this tag only calls the cs file and not the ascx file at the first place..</p>

<p>In this case, is it okay to load a .ascx user control file inside a cs file? (for example on Page_Load function we render the ascx file) and if it is okay how can I do that?
Second am I on the wrong path here?</p>
