I want to create a custome control in asp.net like this:
<my:mycontrol id="myid" runat="server"></my:control>
I have created a class like this:
public class mycontrol : Control, INamingContainer {}
but how can i use it like i mentioned above How can I recreate it so that I can declare it as I mentioned above?