用户控件之间的Ajax请求 [英] Ajax request between user controls
本文介绍了用户控件之间的Ajax请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的页面上有两个用户控件,还有一些其他用户控件&数据字段.
One.ascx将显示类别列表
two.ascx将根据one.ascx中选择的类别显示产品列表.
我想用ajax实现上述功能,而无需发布整个页面.
在此先感谢您.
hi all,
I have two user controls on my page with some other user controls & data fields.
One.ascx will show list of categories
two.ascx will show list of products based on category selected in one.ascx
I want to achieve the above functionality with ajax without posting the whole page.
Thanks in advance.
推荐答案
为简单起见,您可以从UpdatePanel开始.
开始看看
For simplicity, you can start with UpdatePanel.
To start Have a look
这篇关于用户控件之间的Ajax请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文