Server.Transfer in Component

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Dear Group

I'm having a component (Component1) and a page (main.aspx).
Calling Server.Transfer("main.aspx")in Component1 gives me "Object
reference not set to an instance of an object." Calling it from
another page works just fine.

I'm sure I missed something to declare, import or similar and have
tried several things with no luck. I'm a beginner so any fool-proof
plain-english hints are greatly appreciated!

Thanks for your time & efforts,

Martin
 
try

context.Server.Transfer

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
----------------------------------------------------------------------------
------------------------------------
<blatant plug>
Professional .NET for Java Developers with C#- ISBN: 1-861007-91-4
Professional Windows Forms - ISBN: 1861005547
Professional JSP 2nd Edition - ISBN: 1861004958
Professional JSP - ISBN:
1861003625
Beginning JSP Web Development - ISBN: 1861002092
</blatant plug>
 
Back
Top