ASP .NET Ajax控件 [英] ASP .net ajax controll

查看:51
本文介绍了ASP .NET Ajax控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有验证控件的表单.在同一页面上,当我想从网格编辑记录时也会出现一个网格,我在表单上显示的验证错误,但我仅更新了网格行.任何人都可以告诉我为什么吗它,如果我使用ajax控件,它将被调用,因为我认为我的页面请求已发送到服务器,并请告诉我解决方案.在此先感谢

i am using form with validation control.on the same page there is a grid also when i want to edit record from grid my validation error shown on form but i am updating the grid rows only.can any body tell me why is it and if i use ajax control then will it be call because i think my page request goes to server and kindly tell me the solution.thanks in advance

推荐答案

使用ValidationGroup吗?
Did you used ValidationGroup ?


hi ,,

,

set
CausesValidation="false"

设置为可解决此问题的网格上的编辑按钮.如果还存在,请将代码放在这里

for the edit button on the grid that will solve this problem . if further exist the put the code here please


这篇关于ASP .NET Ajax控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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