CKEditor的RequiredFieldValidator不起作用 [英] RequiredFieldValidator for CKEditor not working

查看:69
本文介绍了CKEditor的RequiredFieldValidator不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



在我的申请中,我使用过CKEditor。 CKEditor包含在formview中。我已经为它提供了RequiredFieldValidator。它会在单击保存按钮时触发验证,但它会从页面中消失。保存按钮没有点击事件,它有插入命令。





Plz帮帮我

Hello friends,

In my application i have used CKEditor. That CKEditor is included within the formview. I have given RequiredFieldValidator for it. it fires the validation on click of Save button but it disappears from the page. Save button not have click event, it has Insert Command.


Plz Help me

推荐答案

我们使用RequiredFieldValidator检查天气控制是否为空。您正在使用一个CKEditor并尝试使用RequiredFieldValidator验证它。我认为编辑器可能包含一些特殊字符。如输入,< br />或者因为该控件不接受RequiredFieldValidator'的验证。请确保该CKeditor应为空。
We use RequiredFieldValidator to check weather control is empty or not.And you are using one CKEditor and trying to validate it with RequiredFieldValidator.I think that editor may contain some special character.like enter,< br /> or space because of that control not accepting RequiredFieldValidator''s validation.Please make sure that that CKeditor should be empty.


这篇关于CKEditor的RequiredFieldValidator不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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