We are using both WebDatePicker and igGrid to display data to our customers.
When the user is accessing the application from a German machine, WebDatePicker shows the calendar dropdown starting from Monday, but the calendar dropdown in the grid shows the week starting from Sunday.
This inconsistency is makes our application look unprofessional and could potentially lead to erroneous date entry, which could have a significant impact on our customers.
Can you please provide information on how to correct one or the other?
Hi Karl,
Please let me know if you need any additional assistance regarding this matter.
What you can do to resolve this issue is to use a WebMonthCalendar as the calendar that the WebDatePicker uses. With the WebMonthCalendar you can then define the 'day' that will be used as the first day of week, by setting the FirstDayofWeek property. For example:
<ig:WebDatePicker ID="WebDatePicker1" runat="server" DropDownCalendarID="WebMonthCalendar1" DataMode="Text" Height="63px" Width="163px">
</ig:WebDatePicker>
<ig:WebMonthCalendar ID="WebMonthCalendar1" runat="server"
DayNameFormat="FirstLetter" FirstDayOfWeek="Sunday">
</ig:WebMonthCalendar>
With this approach you can then have a consistent look in your application between the calendar used by the igGrid and the WebDatePicker.
This is an update to let you know that I have received your inquiry and will be looking into this matter for you. I will follow-up with you regarding this matter on or before Thursday.
Thanks!