Error in asp.net C#
- by Ishan
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?