When you create a custom control in a project, a message indicating a server tag error is displayed. This is because it needs to be in the web. config file
Configuration> system. web> pages> controls
<Pages>
<Controls>
<Add tagprefix = "asp tutorial" namespace = "system. web. ui" assembly = "system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>
<Add tagprefix = "asp" namespace = "system. web. ui. webcontrols "assembly =" system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagprefix = "xx" namespace = "mynamespace"/> </controls>
Reference this control in xx. aspx
<Xx: scriptloader id = "scriptloader1" runat = "server" includeqtfile = "true"/>
Add
[Assembly: tagprefix ("mynamespace", "xx")]
Namespace mynamespace
{
Public class scriptloader: webcontrol
}