Hi,
I get this error while building the webpage -
'ASP.subfunction_aspx' does not contain a definition for 'ddlfunc_SelectedIndexChanged' and no extension method 'ddlfunc_SelectedIndexChanged' accepting a first argument of type 'ASP.subfunction_aspx' could be found
The error comes up on this line-
<asp:DropDownList runat="server" ID="ddlfunc" AutoPostBack="true" AppendDataBoundItems="true" OnSelectedIndexChanged="ddlfunc_SelectedIndexChanged"
Does somebody know the reason fo this error ? Pls find the codebehind attached.
Thanks.
protected void ddlfunc_SelectedIndexChanged(object sender, EventArgs e) { btnSave.Visible = true; btncancel.Visible = true; BuilsubfuncList(); DvsubfuncDetails.ChangeMode(DetailsViewMode.ReadOnly); this.BindDetailViewViewfunc(); }