DayPilotCalendar giving an error Input string was not in a correct format. I am using a asp .net drop down in new page and DayPilotCalendar control. i wrote code in aspx is.
<form id="form1" runat="server">
<div>
<asp:DropDownList ID="DoprDownCalControl" runat="server" AutoPostBack="true">
<asp:ListItem Text="alex"></asp:ListItem>
<asp:ListItem Text="john"></asp:ListItem>
<asp:ListItem Text="manny"></asp:ListItem>
</asp:DropDownList>
<DayPilot:DayPilotCalendar ID="DayPilotCalendarControl" runat="server"></DayPilot:DayPilotCalendar>
</div>
</form>
CS Code :-- Nothing in CS page, Only page load event is defined.
After changing the index of dropdown i am getting this error.
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +11177559
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +145
System.Convert.ToInt32(String value) +43
DayPilot.Web.Ui.DayPilotCalendar.OnPagePreLoad(Object sender, EventArgs e) +895
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnPreLoad(EventArgs e) +121
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +699