I'm working in ASP .NET dynamic data.
In one of my edit controls I wanted to allow the user to add records from a related table to the current page. (Literally, if you are on the orders page, you would be allowed to add a new customer to the system on this page as well, and then associate it with that order).
So, I have a DetailsView set to InsertMode, nested inside of an UpdatePanel, which is shown by a ModalPopupExtender which is invoked when 'add new' is clicked.
This doohickey works the first time i execute this process, that is, a customer is added (and i update the dropdown list as well).
However, I realized it didn't work (properly) again until I refreshed the entire page.
When I attached my debugger, my worst fears were realized (ok, not really). But an exception was being thrown:
"Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id." Which seemed to be complaining about a Calendar Extender Control that is part of the details view.
Any guidance on what's going on here would be great. Thanks.