总页面刷新,当从下拉列表中选择一项时. [英] Total Page Refreshing , When one item Selected from Dropdownlist.
本文介绍了总页面刷新,当从下拉列表中选择一项时.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的FrNdZ !!
在我的Webform上,我有一个下拉列表和一个Gridview ..,以便从下拉列表中选择一项并在GRIDVIEW中显示特定记录.
并将下拉回发设置为TRUE.
因此,当我从DropdownList Complete页面中选择一项时,正在刷新.我不需要完整的页面刷新.
请任何人都可以解决这个问题.
谢谢,当我从DropdownList中选择一项时,
Dear FrNdZ !!
On my Webform I have a Dropdownlist and a Gridview.., to Select one item from dropdown and display that particular records in GRIDVIEW.
and also gave dropdown postback to TRUE.
so, when i select one item from DropdownList Complete page is REFRESHING. I dont need complete page refresh.
Please can anybody can solve this problem.
Thanks,
推荐答案
正在刷新页面.我不需要完整的页面刷新
听起来您需要部分页面更新.您需要使用AJAX:
您去了:
MS:AJAX视频 [ ^ ]
Ajax教程 [ ^ ]
AJAX概述 [什么是ASP.NET Ajax? [ UpdatePanel控件 [ UpdatePanel类 [
when i select one item from DropdownList Complete page is REFRESHING. I dont need complete page refresh
Sounds like you need partial page update. You need to use AJAX:
Here you go:
MS: AJAX Videos[^]
Ajax tutorials[^]
AJAX overview[^]
What is ASP.NET Ajax?[^]
Keeping small things aside, in short, you need to put your Grid in an Udpate Panel to enable partial rendering:
UpdatePanel control[^]
UpdatePanel Class[^]
All you need to know with sample code is present and explained.
这篇关于总页面刷新,当从下拉列表中选择一项时.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文