By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,183 Members | 1,456 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,183 IT Pros & Developers. It's quick & easy.

Parser Error Message

P: n/a

I've got the following code:

namespace Foo {
partial class Bar {
public class Display : System.Web.UI.Page {
public void Page_Load(object sender, EventArgs e) {

And I have compiled it to a library, which I then attempt to use for a
webpage with:

<%@ Page language="C#" Inherits=Foo.Bar.Display" %>

But I'm getting an error message:

Parser Error Message: Could not load type 'Foo.Bar.Display'.

Obviously I am doing something wrong! Can I not inherit from a class
contained within another class? Or am I using the wrong code somewhere?


Dylan Parry
Apr 4 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.