I have an asp:Repeater with an asp:DropDownList in it. The DropDownLists in the repeater raise their SelectedIndexChanged events on every postback, regardless of whether they were changed or not.
Is this a known issue in ASP.NET? Do you know how to work around it?
I found this workaround but would like something prettier if at all possible.
Ah I found it - I was adding the event handler in codebehind, but when I moved it to the OnSelectedIndexChanged attribute of the asp:DropDownList control in the ASP.NET markup everything started behaving correctly.