Hi again - I have what I thought should be a simple item but based on my searching - it is not so simple.
I have a datagrid on my page - that is populated on the server side by a query level class. The method returns a DataTable which populates to the data grid just fine. I've set the datagrid to EditMode="Batch" to allow the users to make changes in multiple records then save them all to the database.
My problem is that I want one of the columns to be a drop down list (of any type). It would be fed with a datatable from a database call as well - based off my same query level classes. I've done this all 50 times before except never with EditMode = "Batch". That seems to cause some issues. I can't populate the drop down server side in the ItemDataBound event because the: if (e.Item is GridEditableItem && e.Item.IsInEditMode) never evaluates to true when dealing with batch.
Someone must have solved this before. I can't just do the standard thing and tie the grid and the list to datasources right on the screen - it has to be called using a query level object.
I even tried using XML to populate the list - which worked - but then I still can't get the list to connect to the data because whenever I try to "FIND" the control it never gets found.