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

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)

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?

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