I guess your working on some design time support for custom WebControls as System.Web.UI.Design is intended for this purpose? I ask as this is fairly advanced stuff and your question is quite a basic one so I wondered (with absolutely no disrespect intended) wether you really needed the functionality provided by the classes in this namespace?
How you make the classes in this namespace available in your code depends on your dev environment and coding methods. The namespace is part of the System.Web.Design dll so you'll need to add a reference to that in your project or compile command.
If your using visual studio and have created a Web Project or Web Control Library then you need to right click References in Solution explorer and add a reference to the above mentioned dll. Otherwise you'll need to use the /lib option as part of the call to the compiler from the command line to specify the location of the referenced dll.
You can then add using/import (depending on your language) statements to your classes to save requiring fully qualified object declarations.
Hope this helps?
Rob
i'm a boy, called Bert, and I may not be crazy, but if i'm not the rest of you are...
I thought that namespace was setup by default. Are you getting some error message? You could try to place the following above every thing else on the code behind page.
This namespace is not compiled into the System.Web.dll assembly it is in the System.Design.dll assembly which is not included in any VS.NET project by default to my knowledge.
Rob
i'm a boy, called Bert, and I may not be crazy, but if i'm not the rest of you are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.