Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Error- 'ASP.subfunction_aspx' does not contain a definition for 'ddlfunc_SelectedIndexChanged'

$
0
0

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();
        }


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>