Localize Date Display Format

2 posts, 0 answers
  1. Kerry
    Kerry avatar
    25 posts
    Member since:
    Jun 2013

    Posted 27 Oct Link to this post

    I have an odd issue with the display date being in the wrong culture. When simply adding the control on the HTML side, there is no problem.

    However, in our situation, we have the datepicker embedded in a user control. The user control is then dynamically created on the fly when needed using the TemplateControl.LoadControl method.

    I have read an older article in the UI for WPF forum that I can set the Culture to Null. However, I cannot seem to do this programatically on the ASP.NET side, as we are using UI for AJAX. Any help with this issue would be greatly appreciated.

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 01 Nov Link to this post

    Hello Kerry,

    By default the RadDatePicker will use the culture of the server. If you would like to specify the culture for the control explicitly you can use the options described in the article below:


    Alternatively you can specify the culture for the entire application in the web.config :



    Regards,
    Viktor Tachev
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top