如何在Usercontrol中使用Multiple Dropdown [英] How to use Multiple Dropdown in Usercontrol
问题描述
大家好
请指导我如何在用户控制中使用多个下拉选择索引更改事件
这里我在用户控件里面有3个下拉菜单
我使用的代码如
Hi all
Pls Guide me how to use multiple drop down selected index changed event in user control
Here i have 3 drop down inside the user control
I used a code like
protected void ddlCustomerGroup_SelectedIndexChanged(object sender, EventArgs e)
{
customer();
}
public class SelectedIndexChangedEventArgs : EventArgs
{
}
如何包含第二个下拉选择的索引已更改
我完成了代码,例如
How to include the second drop down selected index changed
I done the code like
protected void ddlCustomer_SelectedIndexChanged(object sender, EventArgs e)
{
customer();
}
但我发现dis message错误
编译器错误消息:CS1061:'ASP.custgrpprodcatproduct_ascx'不包含'ddlCustomer_SelectedIndexChanged'的定义,并且没有可以找到接受类型'ASP.custgrpprodcatproduct_ascx'的第一个参数的扩展方法'ddlCustomer_SelectedIndexChanged'(您是否缺少using指令或汇编参考?)
请指导我解决问题..
But i found dis message as error
Compiler Error Message: CS1061: 'ASP.custgrpprodcatproduct_ascx' does not contain a definition for 'ddlCustomer_SelectedIndexChanged' and no extension method 'ddlCustomer_SelectedIndexChanged' accepting a first argument of type 'ASP.custgrpprodcatproduct_ascx' could be found (are you missing a using directive or an assembly reference?)
pls Guide me to fix dis issue..
推荐答案
这篇关于如何在Usercontrol中使用Multiple Dropdown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!