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: CS0079: The event 'System.Web.UI.TemplateControl.Error' can only appear on the left hand side of += or -=

Source Error:


Line 24:     protected void Save(object sender, EventArgs e)
Line 25:     {
Line 26: 		Lib.Message(this, Error.Message, "Sistemimiz geçici olarak servis dışıdır.");
Line 27:         // Page.Validate();
Line 28:         // if (Page.IsValid)

Source File: d:\Home\eris\miluni.com.tr\wwwroot\order\order.aspx.cs    Line: 26





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