Skip to content

Infragistics Community Forum / Web / Ignite UI for ASP.NET Core / Regarding Setting date in datepicker which is out of min max range.

Regarding Setting date in datepicker which is out of min max range.

New Discussion
Rohit Rawat
Rohit Rawat asked on Feb 26, 2026 3:34 PM

<p data-start=”133″ data-end=”144″>Hello Team,</p>
<p data-start=”146″ data-end=”195″>I am facing an issue with the datepicker control.</p>
<p data-start=”197″ data-end=”350″>Suppose a record is saved with the current date, and the datepicker’s minimum and maximum range is set from the current date up to the next three months.</p>
<p data-start=”352″ data-end=”550″>Now, if the user edits that same record after two days, the datepicker resets the value to the new current date and shows a validation message stating that the previously saved date is out of range.</p>
<p data-start=”552″ data-end=”942″>However, my requirement is that when editing the record, the previously saved date should still be displayed in the calendar without triggering the “out of range” validation error. The min and max range can remain the same, and it is acceptable if the user is not allowed to reselect that older date again. But it should be visible when the record is opened in edit mode for the first time.</p>
<p data-start=”944″ data-end=”1179″>Example:<br data-start=”956″ data-end=”959″ />If a record was saved on 24 Feb 2026, and today is 26 Feb 2026, when editing the record, the datepicker should still display 24 Feb 2026 even though the current allowed range is from 26 Feb 2026 to the next three months.</p>
<p data-start=”1181″ data-end=”1239″>Could you please help me with this? It is quite important.</p>
<p data-start=”1241″ data-end=”1251″ data-is-last-node=”” data-is-only-node=””>Thank you.</p>

Sign In to post a reply

Replies

  • 0
    Rohit Rawat
    Rohit Rawat answered on Feb 26, 2026 3:36 PM

    Hello Team,

    I am facing an issue with the datepicker control.

    Suppose a record is saved with the current date, and the datepicker’s minimum and maximum range is set from the current date up to the next three months.

    Now, if the user edits that same record after two days, the datepicker resets the value to the new current date and shows a validation message stating that the previously saved date is out of range.

    However, my requirement is that when editing the record, the previously saved date should still be displayed in the calendar without triggering the “out of range” validation error. The min and max range can remain the same, and it is acceptable if the user is not allowed to reselect that older date again. But it should be visible when the record is opened in edit mode for the first time.

    Example:
    If a record was saved on 24 Feb 2026, and today is 26 Feb 2026, when editing the record, the datepicker should still display 24 Feb 2026 even though the current allowed range is from 26 Feb 2026 to the next three months.

    Could you please help me with this? It is quite important.

    Thank you.

  • 0
    Monika Kirkova
    Monika Kirkova answered on Feb 27, 2026 3:15 PM

    Hello,

    I have noticed that there is another forum thread regarding the same query, where I have already provided an answer.

    Please, keep in mind that according to our support policy we handle singe thread per issue. This helps us ensure that all issues are addressed and handled correctly.

    Thank you for using Infragistics components.

    Regards,
    Monika Kirkova,
    Infragistics

     

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Rohit Rawat
Favorites
0
Replies
2
Created On
Feb 26, 2026
Last Post
8 months, 2 weeks ago

Suggested Discussions

Tags

No tags

Created by

Created on

Feb 26, 2026 3:34 PM

Last activity on

Feb 26, 2026 3:34 PM