开发者

how to change the content of panel when some value selected in dropdown list

开发者 https://www.devze.com 2023-03-21 05:04 出处:网络
I am using 2 panels in my asp.net 3.5aspx page, i need to change the content of panel when i dynamically select some value from dropdownlist which is in other panel . Can anybody suggest me how to dyn

I am using 2 panels in my asp.net 3.5 aspx page, i need to change the content of panel when i dynamically select some value from dropdownlist which is in other panel . Can anybody suggest me how to dynamically change the content of a pa开发者_StackOverflownel.

Thanks in advance..


Make sure you set AutoPostBack=true and OnSelectedItemChanged event on the dropdown. I assume it has runat="server". Then you just write the code that handles OnSelectedItemChanged, that will update the panels

0

精彩评论

暂无评论...
验证码 换一张
取 消