import namespace not working in 2005!

Discussion in 'ASP .Net' started by =?Utf-8?B?cGF0cmlja2RyZA==?=, Apr 26, 2007.

  1. Hi everyone!

    In asp.net 2003, I was using for example:

    <%@ import namespace="mycompany.services.mynamespace" %>
    and later I could access all mynamespace's classes from the aspx page
    (separate from code behind):

    <%= myclass.mymethod %>

    while in asp.net 2005 I can only use full qualifiers, like:

    <%= mycompany.services.mynamespace.myclass.mymethod %>

    The second one works in asp.net 2005,
    but not the first!
    Why is that?

    Thanks in advance!
     
    =?Utf-8?B?cGF0cmlja2RyZA==?=, Apr 26, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    5,156
  2. Paul Opal
    Replies:
    12
    Views:
    985
    Paul Opal
    Oct 11, 2004
  3. Chris
    Replies:
    3
    Views:
    7,669
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    May 10, 2006
  4. Joel Hedlund
    Replies:
    2
    Views:
    545
    Joel Hedlund
    Nov 11, 2006
  5. Joel Hedlund
    Replies:
    0
    Views:
    321
    Joel Hedlund
    Nov 11, 2006
Loading...

Share This Page