I'm trying to edit a WebDataGrid's column with a DropDownProvider. I need to set the provider's editor control data source programmatically with a DataTable, but I can't get it work... any idea? I tried using an external WebDropDown, but I can't bind it to the DropDownProvider.
Thanks in advance!
DropDownProvider ddp = (DropDownProvider) yourWebDataGrid.EditorProviders["ddp"];
ddp.EditorControl.DataSource = <your datatable> ddp.EditorControl.TextField = "Desc";
ddp.EditorControl.ValueField = "ID";
ddp.EditorControl.ValueDisplayType = Infragistics.Web.UI.ListControls.DropDownValueDisplayType.Simple;
This coding not showing any error but iam not able to bind my webdatagrid.I am not able to view the grid while i am binding dynamically the dropdownprovider.