Compilation Error

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0426: The type name 'OnBeforeSaveEventHandler' does not exist in the type 'CMS.FormControls.DataForm'

Source Error:

Line 396:                btnRegister.Click += new EventHandler(btnRegister_Click);
Line 397:
Line 398:                formUser.OnBeforeSave += new DataForm.OnBeforeSaveEventHandler(formUser_OnBeforeSave);
Line 399:
Line 400:                lblInfo.CssClass = "EditingFormInfoLabel";

Source File: d:\Web\\Application\CMSWebParts\Membership\Registration\CustomRegistrationForm.ascx.cs    Line: 398

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408