【发布时间】:2011-03-09 17:44:51
【问题描述】:
当我将 fckEditor 设置为某个值时
fckDescription.Value = "Description Text";
它会产生问题,例如 Update Panel 没有为 DropDownList 控件执行 Async PostBack 并在 DropDownList 选择更改时出错:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
但是当我评论这些行时
// fckDescription.Value = "Description Text";
效果很好...我想知道为什么会这样!!?!!
另外,fckEditor 位于 UpdatePanel 外部,DropDownList 控件位于 UpdatePanel 内部。
【问题讨论】:
-
@All forums.asp.net/p/1095266/1651601.aspx 按照此链接设置
ValidateRequest="false"暂时解决了我的问题,但这不是一个好的解决方案,我认为是这样......
标签: c# asp.net updatepanel fckeditor serverside-javascript