如何根据来自另一个下拉列表的选定值填充下拉列表,同时两者都位于转发器中 [英] How to populate dropdownlist based on selected value from another dropdownlist while both are located into repeater

查看:61
本文介绍了如何根据来自另一个下拉列表的选定值填充下拉列表,同时两者都位于转发器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的asp.net页面中有两个下拉列表,bot位于Repeater控件中,第二个应根据第一个中的选择进行绑定。



我尝试了什么:



i尝试了ItemDatabound和ItemCreated事件但没有任何反复



我也尝试通过OnSelectedChange事件解决它但没有运气





任何帮助请

i have two dropdownlist in my asp.net page and bot are located into Repeater control , the second one should be binded based on the selection from the first one .

What I have tried:

i tried ItemDatabound and ItemCreated events but nothing happened

and also i tried to solve it by OnSelectedChange event but no luck


any help please

推荐答案

请参阅此内容并按照相同内容进行转发器控制

在GridView上级联DropDownList [ ^ ]
refer this and follow the same for repeater control
Cascading DropDownList on GridView [^]


这篇关于如何根据来自另一个下拉列表的选定值填充下拉列表,同时两者都位于转发器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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