A
avanti
Hi,
I have an ASP page with the page directive:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
It has some controls defined like:
<p> <asp:Button ID="SearchButton" OnClick = "SearchButton_Click"
CssClass="button" Text="Search" runat="server" /> </p>
The code behind has the control defined as:
protected TextBox SearchTextBox;
I am getting an error: "SearchtextBox already defined".
If I remove it, I get "SerachTextBox" no defined. Am I missing
something?
Thanks.
I have an ASP page with the page directive:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
It has some controls defined like:
<p> <asp:Button ID="SearchButton" OnClick = "SearchButton_Click"
CssClass="button" Text="Search" runat="server" /> </p>
The code behind has the control defined as:
protected TextBox SearchTextBox;
I am getting an error: "SearchtextBox already defined".
If I remove it, I get "SerachTextBox" no defined. Am I missing
something?
Thanks.