Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. To format infragistics calendar control

To format infragistics calendar control

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    priyagee
    wrote on last edited by
    #1

    Hai all I am using infragistics calendar control , i need to format the selected calendar date to "dd/MMM/yyyy" . Can anyone help me . Thank you

    B 1 Reply Last reply
    0
    • P priyagee

      Hai all I am using infragistics calendar control , i need to format the selected calendar date to "dd/MMM/yyyy" . Can anyone help me . Thank you

      B Offline
      B Offline
      binarymax
      wrote on last edited by
      #2

      I was curious as well so did some digging here: WebDateChooser Format - Infragistics Community[^]

      this.WebDateChooser1.Format = Infragistics.WebUI.WebSchedule.DateFormat.Short;

      System.Globalization.CultureInfo c = new System.Globalization.CultureInfo("en-US");
      c.DateTimeFormat.DateSeparator = "/";

      c.DateTimeFormat.ShortDatePattern = "MM/dd/yyyy";
      this.WebDateChooser1.CalendarLayout.Culture = c;

      This quote is also worth noting: Unfortunately WebDateChooser supports only "3 fields" format and MMM/MMMM is not supported in edit mode, but only M/MM.

      B 1 Reply Last reply
      0
      • B binarymax

        I was curious as well so did some digging here: WebDateChooser Format - Infragistics Community[^]

        this.WebDateChooser1.Format = Infragistics.WebUI.WebSchedule.DateFormat.Short;

        System.Globalization.CultureInfo c = new System.Globalization.CultureInfo("en-US");
        c.DateTimeFormat.DateSeparator = "/";

        c.DateTimeFormat.ShortDatePattern = "MM/dd/yyyy";
        this.WebDateChooser1.CalendarLayout.Culture = c;

        This quote is also worth noting: Unfortunately WebDateChooser supports only "3 fields" format and MMM/MMMM is not supported in edit mode, but only M/MM.

        B Offline
        B Offline
        binarymax
        wrote on last edited by
        #3

        Sorry, forgot to note obviously to change

        c.DateTimeFormat.ShortDatePattern = "dd/MMM/yyyy";

        P 1 Reply Last reply
        0
        • B binarymax

          Sorry, forgot to note obviously to change

          c.DateTimeFormat.ShortDatePattern = "dd/MMM/yyyy";

          P Offline
          P Offline
          priyagee
          wrote on last edited by
          #4

          Thank you for the reply and i worked out it . thanks again

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups