I have a CreateUserWizar d control, for which I customized the first step.
All I did was add 3 DropdownLists to represent Date of Birth fields. So I have Month, Day, and Year dropdowns.
I have ViewState disabled at application level (disabled it in web.config).
I enabled viewstate on Month, enabled AutoPostback = true, and have a method for the event OnSelectedIndex Changed.
Depending on the Month, the values in Day can range from 28-31.
Now when I fill out the form and hit Create User, the Month_OnSelecte dIndexChanged event gets fired first for some reason. I found this out by debugging. Because of this, it does not save the Day the user has picked.
Anyone have an idea why it would be calling that event first? Thanks
All I did was add 3 DropdownLists to represent Date of Birth fields. So I have Month, Day, and Year dropdowns.
I have ViewState disabled at application level (disabled it in web.config).
I enabled viewstate on Month, enabled AutoPostback = true, and have a method for the event OnSelectedIndex Changed.
Depending on the Month, the values in Day can range from 28-31.
Now when I fill out the form and hit Create User, the Month_OnSelecte dIndexChanged event gets fired first for some reason. I found this out by debugging. Because of this, it does not save the Day the user has picked.
Anyone have an idea why it would be calling that event first? Thanks
Comment