I am experiencing an issue with my asp calendar. Everything works fine normally, but when I add an asp button to submit the form's textbox values, the calendar only displays the current month and the previous and next month buttons do not work.
<form id="form1" runat="server">
<div>
<asp:Calendar ID="cal2" runat="server" Width="50%" DayField="Date" OnDayRender="Calendar1_DayRender"
BackColor="Orange" NextMonthText="Next" PrevMonthText="Prev" OnVisibleMonthChanged="Calendar1_VisibleMonthChanged" >
<DayStyle CssClass="days" VerticalAlign="Top" Font-Name="Arial" Width="100px" Height="100px" BackColor="lightYellow" />
<TodayDayStyle BackColor="Orange" />
<OtherMonthDayStyle BackColor="LightGray" ForeColor="DarkGray"/>
</asp:Calendar>
</div>
<asp:Button ID="submit" CssClass="login" runat="server" Text="Submit" OnClick="Submit_click" />
</form>
My textboxes require post back to the server side using the asp button. How can I prevent this from interfering with the functionality of the calendar? Thank you in advance for your help.