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
265
Display only MM/YYYY in webdatepicker
posted

I want to display the MONTH and YEAR only in the webdatepicker. I don't want to display the dates in the selection itself..

Help me...

I am waiting for your response

  • 20255
    Offline posted

    Hi,

    Let me know if I may be of further assistance.

  • 20255
    Suggested Answer
    Offline posted

    Hello

    Thank you for contacting us.

    I have created a sample for you in order to show you how to customize our WebDatePicker control in order to fulfill your requirements. Please have a look at the attached sample and let me know if I may be of further assistance:

    1. <ig:WebDatePicker ID="WebDatePicker1" DropDownCalendarID="WebMonthCalendar1" runat="server"
    2.                 DataMode="DateOrNull" DisplayModeFormat="MMM/yyyy"
    3.                 EditModeFormat="MM/yyyy">
    4.             </ig:WebDatePicker>
    5.             <ig:WebMonthCalendar ID="WebMonthCalendar1" runat="server"
    6.                 FooterContent="Today is: {0:MMM/yyyy}" EnableYearDropDown="true" DayNameFormat="FirstLetter" HideOtherMonthDays="true">
    7.             </ig:WebMonthCalendar>

    Looking forward to hearing from you.

    ExampleCustomization.zip