社区
C#
帖子详情
请问该方法ClientScriptManager.RegisterForEventValidation是什么意思,该怎样用?
jondon1983
2006-11-01 01:43:25
请问该方法ClientScriptManager.RegisterForEventValidation是什么意思,该怎样用?
...全文
439
回复
打赏
收藏
请问该方法ClientScriptManager.RegisterForEventValidation是什么意思,该怎样用?
请问该方法ClientScriptManager.RegisterForEventValidation是什么意思,该怎样用?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
asp.net一夜速成18
Invalid postback or callback argument.
Event
validation
is enabled using
Event
Validation
="true"/> in configuration or <%@ Page Enable
Event
Validation
="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback
event
s originate from the server control that originally rendered them. If the data is valid and expected, use the
Client
Script
Manager
.Re
gis
ter
For
Event
Validation
method in order to re
gis
ter
the postback or callback data for
validation
.
asp.net一夜速成17
Invalid postback or callback argument.
Event
validation
is enabled using
Event
Validation
="true"/> in configuration or <%@ Page Enable
Event
Validation
="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback
event
s originate from the server control that originally rendered them. If the data is valid and expected, use the
Client
Script
Manager
.Re
gis
ter
For
Event
Validation
method in order to re
gis
ter
the postback or callback data for
validation
.
Client
Script
Manager
Client
Script
Manager
editor
ajax
重复提交和回发或回调参数无效问题
在我们编程一些网页的时候难免会出现一些错误,有时候是页面上的排版错误,有时候确是令人头疼的逻辑错误,还有一些不常见不会导致程序报错的错误,这些错误或者问题,有时候并不会影响程序的运行,但是细心的同学肯定会发现这种错误会造成以后的数据问题,就这看来这些不会导致程序报错的错误更应该避免!比如:回调或回传参数无效、重复提交等问题。
在 ASP.NET 网页中实现回调
在客户端回调中,客户端脚本函数会向 ASP.NET 网页发送请求,该网页随后会运行其正常生命周期的简化版本以处理该回调。若要确保回调事件源于预期的用户界面 (UI),可以对回调进行验证。在回调验证中,应先在网页呈现过程中注册要验证的事件,然后在回调过程中对该事件进行验证
C#
111,097
社区成员
642,554
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章