Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
WebDatePicker vs WebDateChooser
posted

Hi,

I'm currently upgrading classic controls to newer ones, still using v11.1 with the next step to upgrade them to v 13.1 or 13.2.

I have few questions for calendar controls:

  1. WebDateChooser has "month-view" calendar by default, is this correct since I can add them to my page and it automatically has month-view available?
  2. Am I correct to say WebDatePicker does not have "month-view" calendar by default, so to achieve the similar UI to WebDateChooser, I need to add WebMonthCalendar, and set WebDatePicker's DropDownCalendar ID to WebMonthCalendar's ID?
  3. If #2 is correct, how come I don't see WebMonthCalendar in the source view of Default.aspx found in the following example: http://ko.infragistics.com/products/aspnet/sample/date-picker/webdatepicker-for-data-entry ? 

I added WebDatePicker to my page without WebMonthCalendar and it does not show the month-view when clicking the drop-down arrow, it just a text box with date masking and drop-down arrow on the side.

Any help is very much appreciated.

Thanks,

Charles

Parents
  • 230
    posted

    Sorry managed to get it working after some digging and testing.

    Apparently I need to wrap all embedded code blocks (i.e.: <% %> ) in aspx pages and master page in a tag/control with runat="server" property.

    Is there any 'proper' work around other than doing this for... possibly tens of pages just to upgrade to the new WebDatePicker control?

    Thanks,

    Charles

Reply Children
No Data