|
-
May 7th, 2007, 02:51 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2.0] Need help with inheritance in asp.net
Hi!
I have programmed vb.net for a few years now, and recently started with c#.
I have a web page "MyFirstPage" which has a masterpage "MyMasterpage". I also added a new web form called "Pagebase.aspx" where I will have error handling and some other stuff.
I could add error handling in the master page, but not all pages in teh project will use the masterpage.
Now I tried to inherit using the following code:
public partial class MyFirstPage : PageBase
But it refuses to work. I have checked namespaces and anything i can think of. Clearly Im doing something wrong because the intellisense wont find the PageBase class. The two files are located in the same web project...
I had no problem with this in vb.net... hmmmm whats the problem?
kind regards
Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|