日期:2014-05-17  浏览次数:20800 次

IE10环境下 asp:Repeater无法操作,跪求砖头玉块儿!!!!!
从IE8升级到IE10,之前项目的<asp:Repeater onitemcommand="rptTrans_ItemCommand">onitemcommand事件无法触发,是任何页面的都无法触发,这不是模板,通过<asp:LinkButton ID="lbtnOK" runat="server" CommandName="ok" CommandArgument='<%#Eval("Orders_Id") %>'>来触发的
protected void rptTrans_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            int ordersId = ConvertFun.StringToInt(e.CommandArgument, 0);
            //确认收货
            if (e.CommandName=="ok")
            {
                if (ConfirmReceipt(ordersId))
                {
                    string url = Request.Url.ToString();
                    ScriptManager.RegisterStartupScript(Page, Page.GetType(), "", "<Script type=\"text/javascript\" >alert(\"确认收货成功!\");location=\"" + url + "\";</script>", false);
                }
                else
                {
                    ScriptManager.RegisterStartupScript(Page, Page.GetType(), "", "<Script type=\"text/javascript\" >alert(\"确认收货失败!\");</script>", false);
                }
            }
        }

=====================================================================
#region 批量删除收藏
        protected void lbtnDelBatch_Click(object sender, EventArgs e)
        {
            try
            {
                string strId = "";