Page hangs after postback
Posted on 2007-11-14
Hello, everyone! I have a DetailsView with a DropDownList control inside a TemplateField. There are also several fields in that record that need to be populated from a different table based on the value selected in the DropDown (they are read-only fields). I would like to populate these fields on the OnSelectedIndexChanged event of the DropDown control. However, if I set AutoPostBack="true" for the DropDown the page hangs, even without any data updating. This is probably because the DetailsView is a child of a GridView on the same page. Does anyone have a suggestion for how to accomplish what I am trying to do?