How do refresh the page when selecting the drop list item ?

Varshini
Varshini used Ask the Experts™
on
i have the drop down list with following values assigned to it.
19/02/1974
20/02/1974
21/02/1974

19/02/1974 is the first item in the drop list  and it assigning default in page loading.
SelectedIndexChanged is not working when i select the value 19/02/1974 but the the event is firing for selecting other values.  

SelectedIndexChanged event should work when i choose the 19/02/1974 . How to Achieve this ?
<asp:DropDownList ID="myDate" runat="server" AutoPostBack="True"  Width="97px" OnSelectedIndexChanged="myDate_SelectedIndexChanged">
                         
                            </asp:DropDownList>
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If you have it populating on page load, then SelectedIndexChanged isn't going to fire when you select that value again, because the index hasn't changed.  Its still the same item.

Either add a --Select One-- record as the first itme in the drop down list, or optimally just load the '19/02/1974' page data on page load as well.
No reason to post back for a load, if you know that's already going to be the default value.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial