DropDownList doesn't generate a PostBack event 'OnSelectedIndexChanged'
Posted on 2007-07-24
I am writing a c# asp.net application. I have a page with a DropDownList with AutoPostBack set to 'true'.
There is a case where, on the client side, I reset the DropDownList from another page:
parent.frames.document.getElementById('ddlGroups').selectedIndex = 0;
after that, I can't select the previous item in the DropDownList anymore - the postback doesn't happen.
Is it because I have changed the index from the client side?
How can I fix that?
Maybe I should reset the DropDownList on the server side. If so, Is it possible to reference a control from a different page?