FCKeditor控件使用问题!

NetFire 2003-11-21 05:57:42
输入内容后,如何得到值呢??
我使用FCKeditor1.Value,提交后出现下面的出错信息,请高手指点一二!



错误信息如下——

A potentially dangerous Request.Form value was detected from the client (FCKeditor1="<STRONG>暂时没有任何内容</ST...").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (FCKeditor1="<STRONG>暂时没有任何内容</ST...").

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
...全文
27 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
ahongzhen 2004-02-08
  • 打赏
  • 举报
回复
新问题又出来:
FCKeditor上传图片,传入了指定的文件夹,浏览时一方框一红叉,就像找不到文件那种,到服务器文件夹下看文件显示的图标正确,可在firework中却说“不能打开该文件,不知道文件类型”。除了文件格式不对外,数据可对应的图片路径也不正确(文件夹间隔之间没有“\”),我把upload的几个文件中图片路径都进行了修改的,是不是没修改对或还该怎么改?帮帮我!!!
http://expert.csdn.net/Expert/topic/2711/2711925.xml?temp=.2227136
NetFire 2003-11-23
  • 打赏
  • 举报
回复
谢谢thinboyxp(ThinBoy),我看看。
thinboyxp 2003-11-22
  • 打赏
  • 举报
回复
http://www.asp.net/faq/RequestValidation.aspx
在aspx页中加上
<%@ Page validateRequest="false" %>
或者在web.config中
<configuration>
<system.web>
<pages validateRequest="false" />
</system.web>
</configuration>
chf99cn 2003-11-21
  • 打赏
  • 举报
回复
这个控件在哪里下载呀!
麻烦下一个给我好吗?
chf99cn@yahoo.com.cn
liuvb 2003-11-21
  • 打赏
  • 举报
回复
不懂,帮你顶一下
NetFire 2003-11-21
  • 打赏
  • 举报
回复
达人点解阿

62,047

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧