备用更新面板 [英] Alternate of Update Panel

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

问题描述

我有一个包含所有国家的下拉菜单,当从下拉菜单中选择任何国家时,其状态应显示在状态下拉列表中.

在这里,我已经在服务器端编写了代码,
而且我在更新面板中保留了这两个下拉控件,因此可以正常使用.

但是我想知道更新面板的替代方法是什么,它将像更新面板一样工作,意味着无需加载整个页面

解决方案

查看更新面板提示:
http://msdn.microsoft.com/en-us/magazine/cc163413.aspx

使用

Page.IsCallback


您可以使用传统Ajax作为更新面板的替代.
看看下面的链接.希望对您有帮助.
简化Asp.Net Core Ajax


I have a drop down which contain all countries, and when select any country from dropdown, then it''s state should display in state dropdownlist.

here i have written code in server side,
and i have keep these two dropdown control in update panel, so it is working ok.

but i want to know what is the alternate of update panel which will work like update panel, means no need to load full page

解决方案

check out update panel tips:
http://msdn.microsoft.com/en-us/magazine/cc163413.aspx

Use

Page.IsCallback


You may use Traditional Ajax as an alternate for Update Panel.

Have a look at below link. Hope this helps you.
Simplifying Asp.Net Core Ajax


这篇关于备用更新面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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