ListView下的LinkBut​​ton无法在谷歌浏览器中运行 [英] LinkButton under ListView not working in google Chrome

查看:71
本文介绍了ListView下的LinkBut​​ton无法在谷歌浏览器中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下代码在Firefox中运行良好但在Google Chrome中没有。当我点击linkbutton然后断点继续只在Firefox而不是谷歌Chrome中的ItemCommand事件





提前预订





I have following code that working fine in Firefox but not in Google Chrome.When i click on linkbutton then breakpoint go on ItemCommand event only in Firefox not in Google Chrome


Plz hlp.thnks in advance


<asp:ListView ID="ListView1" runat="server" ItemPlaceholderID="itemPlaceHolder"

    OnItemCommand="ListView1_ItemCommand">
    <LayoutTemplate>
        <asp:PlaceHolder ID="itemPlaceHolder" runat="server" />
    </LayoutTemplate>
    <ItemTemplate>
        <asp:LinkButton ID="LkSelectAnswer" runat="server" CommandArgument="A" CommandName="SaveAnswer">
            <asp:CheckBox ID="chkAnswer" runat="server" />
        </asp:LinkButton>
    </ItemTemplate>
</asp:ListView>







protected void ListView1_ItemCommand(object sender, ListViewCommandEventArgs e)
       {

       }

推荐答案

如果你不喜欢我想安装最新的Windows更新,以下是有关兼容性视图警告的信息:



1.在Internet Explorer中,打开顶部的工具菜单,选择兼容性视图设置。您可能需要按Alt键或按住地址栏才能看到菜单栏。

2.确保google.com不在名为您添加的网站的列表中兼容性视图。如果它在该列表中,请单击删除。

3.在窗口底部,确保在兼容性视图中显示所有网站和从Microsoft下载更新的兼容性列表旁边的框或包括来自Microsoft的更新网站列表未经过检查。

4.点击关闭。
if you don't want to install the latest Windows updates, here's what you can do about the Compatibility View warning:

1. In Internet Explorer, open the Tools menu at the top and select Compatibility View Settings. You may need to press the Alt key or press and hold the address bar to see the Menu bar.
2. Make sure that google.com isn’t in the list called "Websites you've added to Compatibility View." If it is on that list, click Remove.
3. At the bottom of the window, make sure that the boxes next to "Display all websites in Compatibility View" and "Download updated compatibility lists from Microsoft" or "Include updated website lists from Microsoft" are not checked.
4. Click Close.


这篇关于ListView下的LinkBut​​ton无法在谷歌浏览器中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆