I found the problem. I didnt put the inherits attribute in the control
header that I created.

On Sep 30, 12:21 pm, Andrew Badera <[email protected]> wrote:
> Show us your code -- show us namespace and class 
> declarations.http://dotnetdevelopment.pastebin.com/
>
> Also, try stripping everything out but those declarations and the
> constructor, and see what happens. The key to debugging ASP.NET errors
> that the compiler doesn't make immediately clear is to reduce
> variables, then slowly add bits and pieces back in as you verify
> functionality.
>
> ∞ Andy Badera
> ∞ +1 518-641-1280
> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> ∞ Google me:http://www.google.com/search?q=andrew%20badera
>
>
>
> On Tue, Sep 29, 2009 at 6:46 PM, Stephen <[email protected]> wrote:
>
> > I added a new control to my asp.net solution and get the following
> > error: The base class includes the field 'ctlProductField', but its
> > type (Custom.Admin.UI.Product.Controls.ProductField) is not compatible
> > with the type of control
> > (Custom.Admin.UI.Product.Controls.ProductField). As you can see the
> > two types they are saying are not compatible are the same class. Any
> > ideas as to why this is happening? Thanks.- Hide quoted text -
>
> - Show quoted text -

Reply via email to