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: CS1061: 'MasterPage' does not contain a definition for 'ShowMessage' and no extension method 'ShowMessage' accepting a first argument of type 'MasterPage' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 148:        if (!chbOk.Checked)
Line 149:        {
Line 150:            (Master as MasterPage).ShowMessage("Ошибка", "Необходимо согласиться с обработкой персональных данных.");
Line 151:            return;
Line 152:        }

Source File: c:\inetpub\vhosts\u0573983.plsk.regruhosting.ru\avangard-st.com\sales\cars\carinfo.aspx.cs    Line: 150






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