Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html ModalPopupXtender中的列表项选择不';我不能在谷歌浏览器上工作_Html_Asp.net_Ajax_Google Chrome_Visual Studio 2008 - Fatal编程技术网

Html ModalPopupXtender中的列表项选择不';我不能在谷歌浏览器上工作

Html ModalPopupXtender中的列表项选择不';我不能在谷歌浏览器上工作,html,asp.net,ajax,google-chrome,visual-studio-2008,Html,Asp.net,Ajax,Google Chrome,Visual Studio 2008,我在Google Chrome中发现ModalPopupXtender中的ListItem有问题 当我将PopupDragHandlerControl设置为移动面板时,我无法选择列表中的项目。当我在没有PopupDraghandlerControl的情况下启动页面时,它会工作 这只是发生在谷歌浏览器!Firefox和Internet Explorer运行良好 谁能帮我解决这个问题 以下是我的完整源代码: <%@ Page Language="C#" AutoEventWireup="tru

我在Google Chrome中发现ModalPopupXtender中的ListItem有问题

当我将PopupDragHandlerControl设置为移动面板时,我无法选择列表中的项目。当我在没有PopupDraghandlerControl的情况下启动页面时,它会工作

这只是发生在谷歌浏览器!Firefox和Internet Explorer运行良好

谁能帮我解决这个问题

以下是我的完整源代码:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .modalBackground
        {
            background-color: Black;
            filter: alpha(opacity=90);
            opacity: 0.8;
        }
        .modalPopup
        {
            background-color: #FFFFFF;
            border-width: 3px;
            border-style: solid;
            border-color: black;
            padding-top: 10px;
            padding-left: 10px;
            width: 300px;
            height: 140px;
        }
    </style>
</head>
<body style = "height:3000px">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Button ID="btnShow" runat="server" Text="Show Modal Popup" />

<!-- ModalPopupExtender -->
<cc1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="btnShow"
    CancelControlID="btnClose" BackgroundCssClass="modalBackground" PopupDragHandleControlID="Panel1">
</cc1:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" align="center" style = "display:none">
    This is an ASP.Net AJAX ModalPopupExtender Example<br />
                                        <asp:ListBox id="drop1" rows="5" runat="server">
<asp:ListItem selected="true">Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>
</asp:ListBox>
    <asp:Button ID="btnClose" runat="server" Text="Close" />
</asp:Panel>
<!-- ModalPopupExtender -->
</form>
</body>
</html>

莫达尔巴基德先生
{
背景色:黑色;
过滤器:α(不透明度=90);
不透明度:0.8;
}
莫达尔波普先生
{
背景色:#FFFFFF;
边框宽度:3倍;
边框样式:实心;
边框颜色:黑色;
填充顶部:10px;
左侧填充:10px;
宽度:300px;
高度:140像素;
}
这是一个ASP.Net AJAX ModalPopupXtender示例
项目1 项目2 项目3 项目4 项目5 项目6