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: CS0103: The name 'txtKeyword' does not exist in the current context

Source Error:


Line 24:     protected void Search_Click(object sender, System.EventArgs e)
Line 25:     {
Line 26:         string sSearchString = txtKeyword.Text;
Line 27:         Response.Redirect("searchNew.aspx?Keywords=" + sSearchString);
Line 28:     }

Source File: g:\pleskvhosts\new.mentortraining.com\mentortraining.com\Template2New.master.cs    Line: 26






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