怎么做在Web用户控件下拉列表中选择的索引已更改 [英] How to do In web user control dropdownlist selected index changed
问题描述
大家好,
我是asp.net的新手,一步一步我将解释我所做的一切
1.我在我的aspx页面中调用了一个用户控制的一个。
2.在那个usercontrol我有一些下拉列表框控件在那儿。问题是,当我更改下拉列表时,selectindex chandged事件未触发但页面加载正在触发
注意:在该usercontrol中我使用了异步回发触发器对于那个下拉控件
我的aspx页面中的
i设置clientidmode =静态
< usercontrol>对于这个用户控件我也给了clientidmode =static它的autopostback = true对于控件 - >这些控件都在更新面板中
但是当我第一次加载时,usercontrols页面加载被激活后被选中指数改变不固定
尽快帮助我
提前感谢
vels ananth
您好b $ b
查看此链接www.asp.net/web-forms/overview/older-versions-getting-started/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers
Hi everyone,
I am new to asp.net , step-by-step i will explain whatever i have done
1. I have called one one we user control in my aspx page.
2. in that usercontrol i have some dropdownlist box controls are there. the problem is when i am changing the dropdown list the selectindex chandged event is not firing but the page load is firing
note: in that usercontrol i have used asyncronous postback trigger for that dropdown controls
in my aspx page
i have set clientidmode="static"
<usercontrol>for this user control also i given clientidmode="static" its having autopostback =true for controls -> these controls are in update panel
but when i loading first time the usercontrols page load is firing after that the selected index changed is not firng
help me as soon as possible
thanks in advance
vels ananth
Hi
Review this linkwww.asp.net/web-forms/overview/older-versions-getting-started/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers
这篇关于怎么做在Web用户控件下拉列表中选择的索引已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!