I think I am not understanding.
I created a few custom controls and I compiled my project to a dll
library.
When I drag one of my custom controls from the toolbox to an Aspx page
I get:
<cc1:MyCustomControl> ....
What I want is to change cc1 to something else.
I supose I need to do this inside my library code before I compile it.
I just don't know where.
I have a VB file for each custom control I create.
Thanks,
Miguel
Teemu Keiski wrote:
> Hi,
>
> you can specify the prefix with @register directive on top of the page
>
> < %@Register TagPrefix="myprefix" Namespace="System.MyControls"
> Assembly="System.MyControls" % >
>
> in ASP.NET 2.0, if you omit the Assembly attribute, control is looked from
> App_Code
>
> --
> Teemu Keiski
> ASP.NET MVP, AspInsider
> Finland, EU
> http://blogs.aspadvice.com/joteke
>
> "shapper" <> wrote in message
> news: ups.com...
> > Hello,
> >
> > How can I change the tag prefix of a custom control.
> > My Asp.Net 2.0 custom control tag prefix is cc1.
> >
> > Thanks,
> > Miguel
> >