jezzy.kiss
  • Posts: 14
  • Joined: 04/07/2010
Hi

I tried to create new user control for my YAF site. It throws the following errors for my two controls.

Error:
ASP.NET runtime error: The base class includes the field 'mycontrol', but its type (YAF.Controls.mycontrol) is not compatible with the type of control (ASP.controls_mycontrol_ascx)

Error:
Element 'control2' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.

I am using YAF-v1.9.4-FINAL, do I need to register my controls anywhere?
Sponsor
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved