使用adrotator和gridview时出错 [英] error while using adrotator and gridview
问题描述
我遇到错误
我过去1周都无法解决,
i getting below error
i couldn''t solve this from past 1 week,
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled
在此页面中,我使用了adrotater控件来旋转横幅,我绑定了sql server 2005中的数据,并且使用时间行情自动器来更改横幅
在该页面中,我也正在使用gridview,在该gridview rowcommand事件中,我必须打开一些弹出窗口,
单击以打开任何一个弹出窗口时,我都会收到该错误,但该弹出窗口将打开
请解决该错误
在此先感谢
in this page i used adrotater control to rotate banner, i''m binding data from sql server 2005, and i''m using time ticker to change the banner
in that page also i''m using gridview, in that gridview rowcommand event, i have to some popups windows,
when click to open that any one popup i''m getting that error, but that popup window opens
please solve that error
thanks in advance
推荐答案
请在 EnableEventValidation之类的页面指令属性中添加 false
Hi,
Please add page directive attribute like EnableEventValidationto false
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" EnableEventValidation="false"
Inherits="_Default" %>
如有任何疑问,请让我知道.
如果有帮助,请提供"投票",如果这是正确的答案,请提供"接受答案".:rose:
谢谢,
Imdadhusen
Please do let me know, if you have any doubt.
Please provide "Vote" if this would be helpful, and make "Accept Answer" if this would be correct answer.:rose:
Thanks,
Imdadhusen
这篇关于使用adrotator和gridview时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!