> > Hi all,
>
[quoted text clipped - 35 lines]
>
> Hope this helps- Hide quoted text -
Thanks so much! I added the <%@ Import Namespace... %> and it is
working now. I tried to full qualify the PageHelper class as you
suggested in the second option but that didn't work. Besides the page
class and the helper class are in the same namespace. I must be
missing something here.
Thanks again for your help.
Mark Fitzpatrick - 11 Aug 2007 15:17 GMT
The actual page designer surface though is not in the namespace you think it
is. It's expected to be in the same namespace and class as the codebehind is
since it's a partial class after all, but that's not exactly the case. You
may notice in some of the runtime errors that you'll see a different
classname that has the aspnet phrase in it. In other words, these other
calls tend to run within their own space.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
>> > Hi all,
>>
[quoted text clipped - 43 lines]
>
> Thanks again for your help.
Alexey Smirnov - 11 Aug 2007 16:01 GMT
> > > Hi all,
>
[quoted text clipped - 45 lines]
>
> - Show quoted text -
BTW, the right syntax is
<a href="<%= NSHERE.PageHelper.GetLocation() %>">
"<%=" equals to Response.Write and href must be closed with ( " )