如何刷新Webform中的部分页面 [英] How to refresh partial page in webform

查看:569
本文介绍了如何刷新Webform中的部分页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我知道可以通过使用AJAX更新面板来进行部分页面刷新,但是我对此不太清楚吗?

我有带有链接按钮的gridview控件.在这里,当我单击gridview回发中的链接按钮时,就会执行.

实际上,在我的页面中,我有必填字段.当我使用Gridview时,它也要求输入那些必填字段.

Hi All,

I have idea that i can get partial page refreshment by using AJAX update panel but i m not that much of clear with that?

I have gridview control with link buttons in it. Here when i click link button in gridview postback is performing.

Actually in my page i have required fields. When i working with Gridview also its asking to enter those required fields.

What to do for this?

推荐答案

嘿,

将linkbutton的CauseValidation属性设置为false
祝你好运
高兴的编码
Hey,

set CauseValidation property false of linkbutton
Best Luck
happy Coding


对控件组使用ValidationGroup属性.

http://www.codedigest.com/Articles/ASPNET/26_Validation_group_in_ASPNet_20.aspx [ ^ ]
Use the ValidationGroup property for the control groups.

http://www.codedigest.com/Articles/ASPNET/26_Validation_group_in_ASPNet_20.aspx[^]


这篇关于如何刷新Webform中的部分页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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