Can I place ASP.NET user controls on pages without a control declaration? -


I want to have user control over pages without registering tags at the top of the page. For example:

  & lt; P & gt; Some text & lt; / P & gt; & Lt; Myname: mycontrol runat = "server" />  

Is this possible? I've heard that tag announcements can be done in web.config ... is this true?

If so, any ideas that support versions of the .NET framework?

Thanks

in .net 2.0 web.config:

< Pre> & lt; Page & gt; & Lt; Control & gt; & Lt; Add tagsPix = "MYPREFIX" namespace == "MyNamespace.Stuff" assembly = "MyAssembly" />

More intense discussion


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -