Error in asp.net C#
Posted
by
Ishan
on Stack Overflow
See other posts from Stack Overflow
or by Ishan
Published on 2011-01-06T09:49:01Z
Indexed on
2011/01/06
9:54 UTC
Read the original article
Hit count: 223
How to pass Editor1 as Parameter:
In my aspx.cs i am giving a call to a function which is in .cs file for the same project, as follows:
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
DropDown abs = new DropDown();
abs.dd(this.DropDownList2, this.DropDownList3);
}
.CS file code
public void dd(DropDownList DropDownList2, DropDownList DropDownList3)
{
//My code which contains DropDownList2 DropDownList3 and Editor1
}
The error that i am getting is:
Error 1 The name 'Editor1' does not exist in the current context
The way i have passed DropDownList2 and DropDownList3 i am not able to pass Editor1(It is an ajax control). How do i pass it?
© Stack Overflow or respective owner