'Can't set DateSelector to 31st of any month. Invalid postback or callback argument

When setting the date of birth to october 31st for a new student on my website and saving the information I get this error:

Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

When pressing backspace on the website, the month only has 28 days. Here is the dateselector code:

 <td>
    <asp:Label ID="dateOfBirthLabel" runat="server" Text="<%$ Resources:Global, DateOfBirth %>" />
</td>
<td style="width: 350px; float: left;">
    
    <uc:DateSelector runat="server" ID="ucDateSelector" SelectedDate='<%# Bind("DateOfBirth") %>' />
</td>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source