为了账号安全,请及时绑定邮箱和手机立即绑定

“PopupControlExtender”问题

“PopupControlExtender”问题

繁星coding 2018-12-07 08:01:00
“PopupControlExtender”并不包含“GetProxyForCurrentPopup”的定义  protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)    {        if (RadioButtonList1.SelectedValue != null)        {           PopupControlExtender.GetProxyForCurrentPopup(this.Page).Commit(RadioButtonList1.SelectedValue);                   }        RadioButtonList1.ClearSelection();     } HTML代码:  <asp:ScriptManager ID="ScriptManager1" runat="server">            </asp:ScriptManager>            <br />            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />            <br />               <asp:Panel ID="Panel2" CssClass="popupbox" runat="server" Height="50px" Width="125px">                <asp:UpdatePanel ID="UpdatePanel1" runat="server">                    <ContentTemplate>                        <asp:RadioButtonList AutoPostBack="true" ID="RadioButtonList1" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">                            <asp:ListItem Text="广州市"></asp:ListItem>                            <asp:ListItem Text="佛山市"></asp:ListItem>                            <asp:ListItem Text="深圳市"></asp:ListItem>                            <asp:ListItem Text="东莞市"></asp:ListItem>                        </asp:RadioButtonList>                    </ContentTemplate>                </asp:UpdatePanel>            </asp:Panel>            &nbsp;<br />           <ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" TargetControlID="TextBox1" PopupControlID="Panel1" CommitScript="e.value;" Position="Bottom" CommitProperty="value" runat="server"></ajaxToolkit:PopupControlExtender>
查看完整描述

1 回答

?
慕码人2483693

TA贡献1860条经验 获得超9个赞

会不会缺少程序集引用?
查看完整回答
反对 回复 2019-01-21
  • 1 回答
  • 0 关注
  • 316 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信