SirReadAlot
asked on
'ASP.Default_aspx' does not contain a definition for 'btnSelect_OnClick'
Hi experts,
I got this error,
'ASP.Default_aspx' does not contain a definition for 'btnSelect_OnClick'
<input type="button" id="btnSelect" OnServerClick="btnSelect_O nClick" value="Select my Stores"
Line 53: runat="server" NAME="btnSelect">
but the definition for the btnSelect_Onclick is already defined
here
protected System.Web.UI.HtmlControls .HtmlInput Button btnSelect;
and
here
this.btnSelect.ServerClick += new System.EventHandler(this.b tnSelect_S erverClick );
what else can i do.
thanks
I got this error,
'ASP.Default_aspx' does not contain a definition for 'btnSelect_OnClick'
<input type="button" id="btnSelect" OnServerClick="btnSelect_O
Line 53: runat="server" NAME="btnSelect">
but the definition for the btnSelect_Onclick is already defined
here
protected System.Web.UI.HtmlControls
and
here
this.btnSelect.ServerClick
what else can i do.
thanks
ASKER
will try this
ASKER
tried this
this.btnSelect.ServerClick += new System.EventHandler(this.b tnSelect_O nClick);
and
still same error
this.btnSelect.ServerClick
and
still same error
Implement It
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
this.btnSelect.ServerClick
to
this.btnSelect.ServerClick
and then
implement btnSelect_OnClick