Accessing namespaces referenced in codebehind of an ascx file

  • Thread starter Thread starter newjazzharmony
  • Start date Start date
N

newjazzharmony

I have included a namespace in the "using" statements at the top of the
codebehind page for an ascx page (user control).

How can I access the objects in this namespace from the ascx page
itself?

Thanks,

Jonathan
 
You need to add a @Import directive to the ascx page..

<%@ Import Namespace="Blah.Blah" %>

Karl
 
Back
Top