I've got a GridView inside an FormView. Both with different DynamicObjectDataSources. When the user hits the save button on the FormView, an Update Command is fired and a postback is made to the server.
The problem is that the objects used on both datasources share a few property names. Like "Discout" for example. The last value in the postback overwrites the first one. So when I enter 3,14 in the textbox on the the FormView and do nothing in the grid, I receive 0,0 in the update method. When stepping thru the program, I've found that in the DynamicData Decimal_Edit control the value is assigned to dictionary[Column.Name]. I hit this point twice, once for both datasources. The value entered on the page is correct, but the Column.Name value is the same twice.
Is there a way to make a distinction between the columns without changing the objects?
I can't change the property names on the objects because they are used throught multiple applications and databases.