I'm working through the Client side cascade example in the WebDropDown section. I'm trying to implement this into my application. However, the WebDropDownDataCommand is not recognized. I've included all the same references as the example is using. I'm using the 3.5 framework. What am I missing?
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
WebDropDown1.Items.Clear();
WebDropDownDataCommand wddc = new WebDropDownDataCommand();
IList<WebDropDownItem> list = wddc.GetData(); WebDropDown1.DataSource = list; WebDropDown1.CurrentValue = "";
}
Hi,
Have you copied the sample code and files from App_Code and App_Code folder to your App_Code/App_Data?
Thanks,
Angel
I have the same problem. What sample code/files are you talking about, Angel? The sample code at http://samples.infragistics.com/2010.1/WebFeatureBrowser/Default.aspx
that shows this DropDown Cascade (from which we are copying code) has no reference/link/mention of App_Code or App_Data. It just shows the aspx code and the aspx.cs code.
Am I mssing something? Also, do you have VB examples instead of C#?