Adding namespaces to webcontrols

D

daokfella

How do I put my webcontrols into specific namespaces? I'm a little
confused now with the partial classes and the .ascx.designer.vb file.
In 2003, I would just add the NameSpace declaration in my code-behind
page. Is this how it's done in 2005, but to both the designer and
partial class? Is not the designer file "rewritten" and will lose any
changes I make to it?

Thanks,

jason
 
D

daokfella

FYI, you can add the namespace to the aspx file in the page directive.
This automatically adds the namespace to the auto-generated code-
behind. However, you still have to add the namespace to your partial
class manually. This is what I've been doing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top